ComplexPlayThru sample & buffers
ComplexPlayThru sample & buffers
- Subject: ComplexPlayThru sample & buffers
- From: Paul Fredlein <email@hidden>
- Date: Fri, 25 Nov 2005 14:47:25 +1000
Hi,
I've been trying to understand the ComplexPlayThru sample code. I only wanted to use one buffer of a fixed size to record only x seconds of audio then play it back.
AudioUnit ci, AudioUnitRenderActionFlags* ioActionFlags, UInt32 inOutputBusNumber, UInt32 inNumberFrames, )
Do I have to supply the number of frames to render or will it just stop once the buffer is full? Can I have only one buffer of the appropriate size or do I have to have multiple small buffer waiting in the queue? Or something... bit confused on the whole thing. (SimplePlayThru sample doesn't work on my Mac, I think it's because I only have a USB input device no Apple input device such as a microphone).
Any help or pointers on where to start appreciated.
Thanks,
Paul
|
_______________________________________________
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