Re: How to get an instance's UI to redraw when Setting kAudioUnitProperty_ClassInfo
Re: How to get an instance's UI to redraw when Setting kAudioUnitProperty_ClassInfo
- Subject: Re: How to get an instance's UI to redraw when Setting kAudioUnitProperty_ClassInfo
- From: Jeremy Sagan <email@hidden>
- Date: Tue, 06 Jun 2006 13:42:59 -0400
Hello B.J.,
Try this:
AudioUnitParameter changedUnit;
changedUnit.mAudioUnit = m_audioUnit;
changedUnit.mParameterID = kAUParameterListener_AnyParameter;
err = AUParameterListenerNotify (NULL, NULL, &changedUnit);
On Jun 6, 2006, at 1:27 PM, B.J. Buchalter wrote:
Hi Folks,
So, as a host, I have an AU instance, and the user has opened the
custom UI
for the instance, and I set kAudioUnitProperty_ClassInfo on the
instance,
thus updating the AU's parameters, some plugins will automatically
update
the UI if it is open, and others will not (for example, the Apple
AU's that
ship with 10.4.x do not refresh the UI when
kAudioUnitProperty_ClassInfo is
set).
What else do I need to do, as a host, when setting
kAudioUnitProperty_ClassInfo to ensure that the UI of the instance is
refreshed to reflect the state of the AU?
TIA,
B.J. Buchalter
Metric Halo
5 Donovan Drive
Hopewell Junction, NY 12533 USA
tel +1 845 223-6112
fax +1 603 250-2451
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40verizon.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden