Re: audioconverter and unpacked source
Re: audioconverter and unpacked source
- Subject: Re: audioconverter and unpacked source
- From: Doug Wyatt <email@hidden>
- Date: Tue, 5 Dec 2006 09:21:39 -0800
High-aligned unpacked formats are OK. It's best described with an
example: if you have 20-bit samples high-aligned in 4-byte words,
then they're treated as 32-bit samples. The only way this might not
behave the way one might desire is that the extra 12 low bits are
used, not ignored.
Doug
On Dec 4, 2006, at 13:39 , Christopher Skogen wrote:
thanks for the info. since the converters can't do this, i'll do
the interleaved to mono trick. thanks.
so does that man that all "unpacked" formats will be unsupported in
the leopard audioconverter? or just low-aligned?
On Dec 4, 2006, at 2:33 PM, Doug Wyatt wrote:
In attempt to be somewhat exhaustive, AudioConverter on Tiger and
previous tries to support these low-aligned formats. This may be
the first time anyone's tried to use low-aligned conversions,
because I discovered during the Intel port that they never quite
worked properly. Rather than fix something that was never bug-
free, which no one appeared to be using, and was complicating the
"normal" code paths, on Leopard you can't create such a converter.
But:
Another way of looking at your source stream is as interleaved
stereo 16-bit where you want to ignore one of the channels.
Doug
_______________________________________________
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