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

Re: extaudiofileread stereo float (iOS)


  • Subject: Re: extaudiofileread stereo float (iOS)
  • From: Michael Tyson <email@hidden>
  • Date: Fri, 24 Feb 2012 10:37:39 +0100

Haha, sorry if I was being obvious ;-)
I think a test app is indeed a grand idea. I've definitely never had problems getting ExtAudioFile to deliver noninterleaved samples.

Not sure about debugging variable length arrays - there're various tools for debugging memory allocations (e.g. writing over deallocated memory with a specific pattern), but otherwise, I dunno.

Best of luck!

On 24 Feb 2012, at 05:25, Gregory Wieber wrote:

Ha, yes I know what noninterleaved means. Paul wrote back and said that they were actually de-interleaving in a separate step, and the code Tahome mentioned also does the de-interleaving in a separate step, so I was just beginning to wonder if anyone was actually using two buffers and getting noninterleaved directly from the extAudioFileRead. But... clearly you said you were, and I should have trusted you :)

Thanks so much for your time and posting this. Unfortunately, it's essentially what I'm already doing.

I'm not entirely hazy on the variable length array concept, but I'm wondering (and this is more a general C thing, so I should post elsewhere) how to debug a variable length array. Because, as far as the debugger is concerned it is still an array of length 1; even though clearly the two buffers have been allocated. It just makes it hard for me to peak under the hood and solve the problem. When I simply print the values in the buffers, they're identical for left and right.

I trashed the original ASBD because I had to get passed the problem, and for this particular bit mono is fine, but I do want to solve the problem so I'll reconstruct it and post it. 

But, I think Paul is right – the code that I'm trying to shove this into is complex, with many moving parts so the smart thing to do (instead of me wasting everyone's time) is to create a small test app. I might have time this weekend. 

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

References: 
 >extaudiofileread stereo float (iOS) (From: Gregory Wieber <email@hidden>)
 >Re: extaudiofileread stereo float (iOS) (From: Michael Tyson <email@hidden>)
 >Re: extaudiofileread stereo float (iOS) (From: Gregory Wieber <email@hidden>)
 >Re: extaudiofileread stereo float (iOS) (From: Michael Tyson <email@hidden>)
 >Re: extaudiofileread stereo float (iOS) (From: Gregory Wieber <email@hidden>)

  • Prev by Date: Re: extaudiofileread stereo float (iOS)
  • Next by Date: AW: Lost Midi Packets over Wifi Network [bcc][faked-from]
  • Previous by thread: Re: extaudiofileread stereo float (iOS)
  • Next by thread: Re: extaudiofileread stereo float (iOS)
  • Index(es):
    • Date
    • Thread