Adding callback procs to SimplePlayThru
Adding callback procs to SimplePlayThru
- Subject: Adding callback procs to SimplePlayThru
- From: email@hidden
- Date: Sat, 02 May 2009 19:28:44 -0400
Hi,
I'm trying to add input and output callback procs to SimplePlayThru. I
added the code below to the end of SetupAUHAL(). The input proc is
being called but not the output proc.
What I'm missing?
thanks
Jeff
AURenderCallbackStruct input;
input.inputProc = InputProc;
input.inputProcRefCon = 0;
err = AudioUnitSetProperty(HALUnit,
kAudioOutputUnitProperty_SetInputCallback,
kAudioUnitScope_Global,
0,
&input,
sizeof(input));
input.inputProc = OutputProc;
err = AudioUnitSetProperty(HALUnit,
kAudioUnitProperty_SetRenderCallback,
kAudioUnitScope_Input,
0,
&input,
sizeof(input));
_______________________________________________
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