• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Decoding AAC/Apple Lossless mono to lpcm stereo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Decoding AAC/Apple Lossless mono to lpcm stereo


  • Subject: Re: Decoding AAC/Apple Lossless mono to lpcm stereo
  • From: Brad Ford <email@hidden>
  • Date: Mon, 27 Nov 2006 16:20:05 -0800


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:
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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Decoding AAC/Apple Lossless mono to lpcm stereo
      • From: Dominic Feira <email@hidden>
References: 
 >Decoding AAC/Apple Lossless mono to lpcm stereo (From: Dominic Feira <email@hidden>)

  • Prev by Date: Decoding AAC/Apple Lossless mono to lpcm stereo
  • Next by Date: Re: Decoding AAC/Apple Lossless mono to lpcm stereo
  • Previous by thread: Decoding AAC/Apple Lossless mono to lpcm stereo
  • Next by thread: Re: Decoding AAC/Apple Lossless mono to lpcm stereo
  • Index(es):
    • Date
    • Thread