(no subject)
(no subject)
- Subject: (no subject)
- From: Jeremy Sagan <email@hidden>
- Date: Thu, 19 Sep 2002 16:08:52 -0400
I want to get the maximum dispatch speed so I am trying to implement
fast dispatching. What is wrong with this code (I could not find any
examples using fast dispatching)? The render code works if
m_audioUnitRenderRoutine is nil.
setup code:
outDataSize = sizeof(m_audioUnitRenderRoutine);
AudioUnitGetProperty(au, kAudioUnitProperty_FastDispatch,
kAudioUnitScope_Global,
kAudioUnitRenderSelect, &m_audioUnitRenderRoutine,
&outDataSize);
render code:
AudioUnitRenderProc ARP = (AudioUnitRenderProc)
m_audioUnitRenderRoutine;
if (!ARP)
ARP = (AudioUnitRenderProc)AudioUnitRender;
ARP(m_audioUnit, 0, &theTime, buss, sampleFrames, (AudioBufferList
*)&ioData);
_______________________________________________
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.