Hi All,
I would like to get some inputs on the issues that I am facing
currently. Please correct me if I am doing something wrong as I am
not expertise in this area.
I was trying to read mp3 audio data in chunk by chunk manner, for
that I uses ExtAudioFileRead as I want the data in uncompressed
format (16 bit, linear PCM).
For a specific .mp3 file (as of my test) i could see that following
results for the ExtAudioFileSeek and ExtAudioFileTell apis.
Sint64 theOffset = (primeOffset + 0); //it gives 576
ExtAudioFileSeek(fileRef,theOffset);
ExtAudioFileTell(fileRef,&theOffset); /// theOffset gives 0
//read a sample frame of theNumPackets = 4096
ExtAudioFileRead(filRef,& theNumPackets,&BufferList);
ExtAudioFileTell(fileRef,&theOffset); /// theOffset gives 4672
Could anybody please tell me ,why first call to ExtAudioFileTell
returns 0 and after reading it gives 4672 (i was expecting 4096)?
Also any more info about the behavior of ExtAudioFileSeek and
ExtAudioFileTell apis are highly appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden
This email sent to email@hidden