Re: converting buffer channels
Re: converting buffer channels
- Subject: Re: converting buffer channels
- From: Michael Thornburgh <email@hidden>
- Date: Wed, 16 May 2007 22:06:59 -0700
you indicated that you're using MTCoreAudio, so take a look at the
"AudioBufferList Utility Functions" -- specifically
MTAudioBufferListCopy(). also, if you're using MTAudioBuffers or
MTConversionBuffers, they will do the right thing copying between
AudioBufferLists with mismatched channel counts or stream layouts.
-mike
On May 15, 2007, at 10:21 PM, Paul Fredlein wrote:
Hi,
My cheap USB mic is one channel output but the headphones are two
channels input. I'm playing with the "recordotron" sample code and
have recorded x seconds of audio to a buffer when the buffer is
played back it's double speed. How do I convert the existing buffer
from 1 channel to 2 channels so it plays properly? All the sample
code I've seen wants to convert on the fly as 'play thru'.
Regards,
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