1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-30 02:50:05 +00:00

Removed no-longer-necessary check in the AU code which was producing a warning.

This commit is contained in:
jules 2015-04-13 12:38:57 +01:00
parent 9c9d10dc0a
commit 1ee737c7cd

View file

@ -676,12 +676,9 @@ public:
void sendAUEvent (const AudioUnitEventType type, const int index)
{
if (AUEventListenerNotify != 0)
{
auEvent.mEventType = type;
auEvent.mArgument.mParameter.mParameterID = (AudioUnitParameterID) index;
AUEventListenerNotify (0, 0, &auEvent);
}
auEvent.mEventType = type;
auEvent.mArgument.mParameter.mParameterID = (AudioUnitParameterID) index;
AUEventListenerNotify (0, 0, &auEvent);
}
void audioProcessorParameterChanged (AudioProcessor*, int index, float /*newValue*/)