AUMultibandCompressor and factory presets?
AUMultibandCompressor and factory presets?
- Subject: AUMultibandCompressor and factory presets?
- From: Jeremy Sagan <email@hidden>
- Date: Tue, 9 Mar 2004 10:34:54 -0500
If I set the current preset of the AUMultibandCompressor to a factory
preset, the plug-in does not update the factory preset setting at the
top of the edit window.
err = AudioUnitSetProperty(m_audioUnit,
kAudioUnitProperty_CurrentPreset,
kAudioUnitScope_Global, 0, &m_preset, sizeof(m_preset));
where for example, m_preset = {1, CFSTR"Subcontrol") which was directly
extracted from the factory_preset array.
I do not know if I have to, but I am calling AUParameterListenerNotify
after setting this property.
Is this not working because I should be using the property
PresentPreset and not CurrentPreset? Shouldn't CurrentPreset still work?
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.