• 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: Splitting stereo to 2 audiobuffers with AudioConverter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Splitting stereo to 2 audiobuffers with AudioConverter


  • Subject: Re: Splitting stereo to 2 audiobuffers with AudioConverter
  • From: William Stewart <email@hidden>
  • Date: Wed, 15 Oct 2008 11:40:40 -0700

Yes - this is the de-interleaved format. Have a look at CAStreamBasicDescription::SetCanonical (/Developer/Examples/CoreAudio/ PublicUtility) for an example of how to set up the ASBD for this. Then that can become your destination format on an audio converter

Bill

On Oct 15, 2008, at 11:20 AM, Richard Dearlove wrote:


Is there ever a time when calling AudioConverterFillComplexBuffer (ACFB) returns an AudioBufferList with 2 AudioBuffers with left and right channels assigned to each of the 2 buffers ?


Im trying to figure out how to the ASBD for ACFB to do the above for a file with an ASBD of the following :

Really scratching my head on this one


Sample Rate:44100.000000 Format ID:mcpl Format Flags:C Bytes per Packet:4 Frames per Packet:1 Bytes per Frame:4 Channels per Frame:2 Bits per Channel:16 - - - - - - - - - - - - - - - - - - - - Format Flags kAudioFormatFlagIsSignedInteger kAudioFormatFlagIsPacked


best regards Richard_______________________________________________ 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: Splitting stereo to 2 audiobuffers with AudioConverter
      • From: Richard D <email@hidden>
References: 
 >Splitting stereo to 2 audiobuffers with AudioConverter (From: Richard Dearlove <email@hidden>)

  • Prev by Date: Splitting stereo to 2 audiobuffers with AudioConverter
  • Next by Date: AudioUnit problem: CFRunLoopRunInMode() spins after first thread exits, and second thread begins?
  • Previous by thread: Splitting stereo to 2 audiobuffers with AudioConverter
  • Next by thread: Re: Splitting stereo to 2 audiobuffers with AudioConverter
  • Index(es):
    • Date
    • Thread