• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ExtAudioFileRead


  • Subject: Re: ExtAudioFileRead
  • From: Doug Wyatt <email@hidden>
  • Date: Thu, 9 Sep 2010 09:55:28 -0700

On Sep 8, 2010, at 18:13 , Aran Mulholland wrote:

> Thanks ethan, your a legend.
>
> that fixed it, I was unaware that ExtAudioFileRead modifies the buffer
> list to return the number of samples read. Is there any documentation
> for this behaviour that you know of, or did you just discover this by
> accident?

It's hopefully demonstrated in some examples.

The principle (which extends to some other APIs too) is: When an AudioBufferList is used as an in+out parameter, on entry, mDataByteSize expresses a maximum capacity. On exit, mDataByteSize reflects the actual number of bytes written.

Doug

 _______________________________________________
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 (From: Aran Mulholland <email@hidden>)
 >Re: ExtAudioFileRead (From: Ethan Funk <email@hidden>)
 >Re: ExtAudioFileRead (From: Aran Mulholland <email@hidden>)
 >Re: ExtAudioFileRead (From: Aran Mulholland <email@hidden>)
 >Re: ExtAudioFileRead (From: Ethan Funk <email@hidden>)
 >Re: ExtAudioFileRead (From: Aran Mulholland <email@hidden>)

  • Prev by Date: Re: ExtAudioFileRead
  • Next by Date: Re: iOS4.1, reading sample data while playing audio?
  • Previous by thread: Re: ExtAudioFileRead
  • Next by thread: iOS4.1, reading sample data while playing audio?
  • Index(es):
    • Date
    • Thread