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

Re: ExtAudioFile woes


  • Subject: Re: ExtAudioFile woes
  • From: John Weeks <email@hidden>
  • Date: Fri, 12 Jun 2015 10:04:05 -0700

Yes, I think I made that change and it finally worked. Don't know why it would be required, and it would be nice if there were a way to get that information from the documentation. But there it is, and my seeks now work. Thanks!

> On 12 Jun 2015, at 9:50 am, Steve Nicholson <email@hidden> wrote:
>
> The client data format has to be set before ExtAudioFileSeek will work (thanks to @sbooth for this info). Add these lines before the call to ExtAudioFileSeek and it will work:
>
>        AudioStreamBasicDescription inputFormat;
>        UInt32 propSize = sizeof(inputFormat);
>        ExtAudioFileGetProperty(_audioFileRef, kExtAudioFileProperty_FileDataFormat, &propSize, &inputFormat);
>        ExtAudioFileSetProperty(_audioFileRef,kExtAudioFileProperty_ClientDataFormat, sizeof(AudioStreamBasicDescription), &inputFormat);
>

-John Weeks
WaveMetrics, 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


References: 
 >ExtAudioFile woes (From: John Weeks <email@hidden>)

  • Prev by Date: Re: IAC buffer size - Logic buffer size
  • Next by Date: Thanks
  • Previous by thread: Re: ExtAudioFile woes
  • Next by thread: CoreMIDI virtual source MIDIReceived concurrency question
  • Index(es):
    • Date
    • Thread