• 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
AU Format Converter and mChannelsPerFrame
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AU Format Converter and mChannelsPerFrame


  • Subject: AU Format Converter and mChannelsPerFrame
  • From: Craig Bakalian <email@hidden>
  • Date: Wed, 8 Jun 2005 05:45:04 -0400

Hi,
I am uncertain about how the
convert.componentType = kAudioUnitType_FormatConverter;
convert.componentSubType = kAudioUnitSubType_AUConverter;

is converting stored audio data that has a AudioStreamBasicDescription of mChannelsPerFrame = 1 to be transformed into audio data that has an AudioStreamBasicDescription of mChannelsPerFrame = 2. From my tests, it appears I can convert audio data with 2 mChannelsPerFrame into 1, yet I cannot convert from 1 to 2. No errors are thrown, the rendering happens, but the sound is just coming out of one speaker after I attempted to convert from 1 to 2. Is there something that needs to be done in the callback of the render process? Is this conversion possible?

Craig Bakalian
 _______________________________________________
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: AU Format Converter and mChannelsPerFrame
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: Presets etc.
  • Next by Date: xcode 2.1 Platform type in rsrc
  • Previous by thread: Re: Presets etc.
  • Next by thread: Re: AU Format Converter and mChannelsPerFrame
  • Index(es):
    • Date
    • Thread