• 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: ExtAudioFileSeek resulting in undocumented error code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ExtAudioFileSeek resulting in undocumented error code


  • Subject: Re: ExtAudioFileSeek resulting in undocumented error code
  • From: "Zhiye (Sterling) Li" <email@hidden>
  • Date: Thu, 20 Aug 2009 23:29:37 -0500

Hi Dan,

I am not experienced either. As I understand, in order to do file read and write, we need to let the file i/o API that we are using know the data format of this file.

zhiye

On Thu, Aug 20, 2009 at 4:40 PM, Daniel Stenmark <email@hidden> wrote:
Ahh, it works now.  Thank you.

I'm still a bit new to Core Audio though.  Can you give me an explanation as to what this property is and why it needs to be set?


On Aug 20, 2009, at 2:34 PM, Zhiye (Sterling) Li wrote:

I had the same problem before. Try set the kExtAudioFileProperty_ClientDataFormat property before the ExtAudioFileSeek line.

ExtAudioFileSetProperty(audiofile, kExtAudioFileProperty_ClientDataFormat, sizeof(audioFormat), &audioFormat);
ExtAudioFileSeek(audiofile, 0);

On Thu, Aug 20, 2009 at 4:28 PM, Daniel Stenmark <email@hidden> wrote:
For some reason, seeking by even 1 frame with ExtAudioFileSeek is resulting in an OSStatus of -66568, a code that I cannot find any documentation for. The ExtAudioFileRef is setup properly and I can read from it just fine, seeking seems to be my big issue here.

~Dan Stenmark

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)

This email sent to sterling.li@gmail.com



 _______________________________________________
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: 
 >ExtAudioFileSeek resulting in undocumented error code (From: Daniel Stenmark <email@hidden>)
 >Re: ExtAudioFileSeek resulting in undocumented error code (From: "Zhiye (Sterling) Li" <email@hidden>)
 >Re: ExtAudioFileSeek resulting in undocumented error code (From: Daniel Stenmark <email@hidden>)

  • Prev by Date: Re: ExtAudioFileSeek resulting in undocumented error code
  • Next by Date: Dynamically changing set of parameters.
  • Previous by thread: Re: ExtAudioFileSeek resulting in undocumented error code
  • Next by thread: Dynamically changing set of parameters.
  • Index(es):
    • Date
    • Thread