olofson / audiality2

A realtime scripted modular audio engine for video games and musical applications.
http://audiality.org/
zlib License
79 stars 5 forks source link

Incorrect sanity checks in a2_OpenConfig()? #339

Closed olofson closed 6 years ago

olofson commented 6 years ago

Shouldn't the sanity checks be done after handling default (0/-1) parameters...? As it is, I think defaults will be flagged as invalid parameters, and the function will refuse to create a config object.