Re: Sample Rate Conversion using AudioConverter
Re: Sample Rate Conversion using AudioConverter
- Subject: Re: Sample Rate Conversion using AudioConverter
- From: James McCartney <email@hidden>
- Date: Fri, 6 Jun 2003 07:28:46 -0700
You should not use AudioConverterConvertBuffer when you have a sample
rate conversion. Use AudioConverterFillBuffer or
AudioConverterFillComplexBuffer.
Because in a sample rate conversion the output samples depend on
samples before and after them from the input, there is some internal
buffering that must happen which requires that you use the pull model
of these other conversion routines.
AudioConverterConvertBuffer is only for conversions where there is a
1:1 correspondence between input and output such as bit depth, endian
swap, int<->float, (de)interleaving...
On Friday, June 6, 2003, at 01:00 AM, Tommy Braas wrote:
I have been trying to figure out how to properly feed an instance of
AudioConverter using AudioConverterConvertBuffer(...).
--
--- james mccartney
_______________________________________________
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.