Re : Help Needed for Audio Unit Parameter Change Notification
Re : Help Needed for Audio Unit Parameter Change Notification
- Subject: Re : Help Needed for Audio Unit Parameter Change Notification
- From: Rémi Thébault <email@hidden>
- Date: Sat, 27 Oct 2007 01:21:07 +0200
Hi Everybody
Sorry for this mail abundance but I just can't doing all this by myself.
I've found interesting structure for me in CoreAudio Reference (http://developer.apple.com/documentation/MusicAudio/Reference/CoreAudio/audio_units/chapter_5_section_3.html
) :
it is AudioUnitParameterEvent
So I wrote this code to instantiate the parameterEvent :
AudioUnitParameterEvent parEvent;
parEvent.scope = kAudioUnitScope_Global;
parEvent.element = 0;
parEvent.parameter = kParam_NoteFreq;
parEvent.eventType = kParameterEvent_Immediate;
parEvent.eventValues.immediate.bufferOffset = 0;
parEvent.eventValues.immediate.value = mNoteFreq;
But I didn't found a AUParameterEventListenerNotify(). Could someone
tell me how to notify this kind of event.
Something else how can my Render function interact with my custom view
class ? because after all I just need :
AUParameterSet (mParameterListener, self, ¶meter, value, 0)
AUParameterListenerNotify (mParameterListener, self, ¶meter)
from within the view class.
Rémi Thébault _______________________________________________
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