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

ExtAudioFileSeek and Tell


  • Subject: ExtAudioFileSeek and Tell
  • From: Dominic Feira <email@hidden>
  • Date: Wed, 19 Apr 2006 22:23:48 -0400

Alright, I have been playing around with the ExtAudioFile API today. Investigating if I should switch to it or not. Anyway, I noticed something about it that took me a while to figure out and could not find mention of this in the list or elsewhere.

ExtAudioFileSeek and ExtAudioFileTell values correspond to the file's format not the extraction format. So, if you want those values to make sense with what you're extracting be sure to extract in the file's samplerate.

One other thing that is mentioned elsewhere, and here for completeness, is that ExtAudioFileSeek should be set relative to the start of conversion. If you have set a client format, you need to include the leading frames from the kAudioConverterPrimeInfo when seeking.

ExtAudioFileSeek(mAudioFileRef, frameOffset + mLeadingFrames);

Please let me know if any of these statements are incorrect.

Dominic Feira / Code Monkey / Ambrosia Software, Inc.
_______________________________________________
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: ExtAudioFileSeek and Tell
      • From: john <email@hidden>
  • Prev by Date: Re: recommended practice for routing to multiple devices from one augraph
  • Next by Date: Re: ExtAudioFileSeek and Tell
  • Previous by thread: RE: Crashing Auval
  • Next by thread: Re: ExtAudioFileSeek and Tell
  • Index(es):
    • Date
    • Thread