Re: HALOutputUnit (Pt 1)
Re: HALOutputUnit (Pt 1)
- Subject: Re: HALOutputUnit (Pt 1)
- From: Airy André <email@hidden>
- Date: Thu, 5 Feb 2004 19:16:56 +0100
Le 5 fivr. 04, ` 02:06, William Stewart a icrit :
Now that I am providing a filled-out buffer list, AudioUnitRender is
returning kAudioUnitErr_CannotDoInCurrentContext.
From what I can see this is returned when:
don't have any input data to give you
you're asking for too much data (ie. you are asking for a different
number of frames than it has kept from the I/O proc)... Thus, I
wouldn't do sample rate conversion (as this will trip this), and I'd
ask for the exact same number of frames as the device is doing I/O in.
We may remove this restriction (and thus do some buffering of the
input)...
It seems to work for me if I remove the
SetProperty(kAudioUnitProperty_StreamFormat) on the Input.
Airy
_______________________________________________
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.