ExtAudioFileSeek bug
ExtAudioFileSeek bug
- Subject: ExtAudioFileSeek bug
- From: Ian Esten <email@hidden>
- Date: Tue, 15 Mar 2011 11:23:03 -0700
I found a problem with ExtAudioFileSeek a while back that I have not seen reported. The issue only occurs when seeking in an audio file that is at a different sample rate to your client format. If you are at sample sa in your audio file, which corresponds to sample sc in your client, (so sa == sc * fsa / fsc, where fsa is the sample rate of the audio file and fsc is the sample rate of the client), if you seek to a sample location in the client which happens to be equal to sc, then the read location is not modified. It looks like ExtAudioFileSeek is incorrectly checking the client sample location instead of the audio file sample location.
Ian
_______________________________________________
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