Using ExtAudioFile to split a file (iPhone)
Using ExtAudioFile to split a file (iPhone)
- Subject: Using ExtAudioFile to split a file (iPhone)
- From: uɐıʇəqɐz pnoqɥɒɯ <email@hidden>
- Date: Sat, 26 Dec 2009 00:50:14 -0500
Hi. I have just managed to use ExtAudioFile to take my compressed sounds and save them as PCM. I used the ExtAudioFileConvert.cpp sample. In other words, I have only dipped my toe into the ExtAudioFile realm. Now, I am wondering if there is a relatively easy way to split my larger compressed file into smaller PCM files, based on time duration. i.e. split the file into 2 second chunks.
I could possibly pre-chunk my file pre-build, but I seem to get much better compression when compressing the larger file, rather than a multitude of smaller compressed chunks.
I haven't yet figured out how to determine my temporal location in the file, in order to close the file and open a new one, exactly at the right spot. Any thoughts or advice on how to do so is appreciated.
mahboud
_______________________________________________
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