Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Decoding AAC/Apple Lossless mono to lpcm stereo




On Nov 27, 2006, at 4:13 PM, Dominic Feira wrote:

Can an AudioConverter decode AAC-mono to lpcm-stereo or Apple Lossless-mono to lpcm-stereo?

No. AudioConverters don't mix.


I am able to decode *all* other audio formats to lpcm stereo correctly by using a channel map.

I don't see how this could be true. If you're using a channel map, you're likely replicating one channel of input to two channels of output (and now the result is too loud), or dropping one channel of input when going stereo->mono.


If you're going stereo->mono or mono->stereo, you really need to perform a mix yourself, use a mixer audio unit, or use something like QuickTime's SCAudio component, which has the same interface as AudioConverterFillComplexBuffer (see SCAudioFillBuffer in QuickTimeComponents.h), but _does_ perform a mix for you.

-Brad Ford
QuickTime Engineering

It seems as if the AAC and ALAC converters are not respecting the channel map at all.

Setting the map on the AAC converter does not return an error. While debugging this, I also ask the converter for the channel map right after I set it and everything appears correct. Both output channels are mapped to channel 0.

Thanks.

Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Decoding AAC/Apple Lossless mono to lpcm stereo (From: Dominic Feira <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.