• 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: Richard D <email@hidden>
  • Date: Thu, 16 Oct 2008 13:34:48 +0100

Thanks Again. That was just what I was looking for.
best wishes
Richard D

On 15 Oct 2008, at 19:40, William Stewart wrote:

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:
@apple.com


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
References: 
 >Splitting stereo to 2 audiobuffers with AudioConverter (From: Richard Dearlove <email@hidden>)
 >Re: Splitting stereo to 2 audiobuffers with AudioConverter (From: William Stewart <email@hidden>)

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