Audio changingParams and SVN version 237


#1

Won’t build in release mode - changingParams is debug only, but is accessed in all code.

I just did:

#ifdef JUCE_DEBUG
jassert (changingParams [parameterIndex]);
#endif

or similar in three places.

Bruce


#2

Whoops. I normally have assertions turned off in release mode, but I’ll add that extra #ifdef like you suggest.


#3

Looks like version 1.45 still doesn’t behave correctly with changingParams: the beginParameterChangeGesture doesn’t seem to set any element of changingParams to 1, thus causing the assert

jassert (changingParams [parameterIndex]);

in endParameterChangeGesture to fail anyway.
Has this been fixed already?


#4

Sorry, that was still in there. Fix is checked in now.


#5