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 protected]> 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
