• 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
extaudiofileread stereo float (iOS)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extaudiofileread stereo float (iOS)


  • Subject: extaudiofileread stereo float (iOS)
  • From: Gregory Wieber <email@hidden>
  • Date: Sun, 19 Feb 2012 22:28:03 -0800

Hi everyone,

I'm converting some old code to use ExtAudioFileRead, and I've applied a client format that used non-interleaved floating point. I'm feeding it a buffer list that has 2 allocated buffers -- I want to be able to access the left and right data as two separate arrays. 

It looks like mBuffers[0] and mBuffers[1] are getting identical data (the source audio file is stereo), rather than unique left and right data. 

I've heard rumors that a ExtAudioFileRead does not actually honor a mNumberBuffers value > 1, but haven't located any official info on that anywhere. One of the main reasons for using the ExtAudioFileRead was so that I could have the conversion to float done as quickly and efficiently as possible, and before I go the route of the vDSP_ctoz method mentioned recently, I'd like to see if anyone knows why ExtAudioFileRead wouldn't be honoring the non-interleaved ASBD and buffer list layout. 

Any ideas? Thanks in advance.

best,

Greg


 _______________________________________________
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: extaudiofileread stereo float (iOS)
      • From: Michael Tyson <email@hidden>
  • Prev by Date: Re: Detecting and hosting audio units with complex bus/channel layouts [solved]
  • Next by Date: Re: Getting Started with Core Audio ???
  • Previous by thread: Re: Detecting and hosting audio units with complex bus/channel layouts [solved]
  • Next by thread: Re: extaudiofileread stereo float (iOS)
  • Index(es):
    • Date
    • Thread