Re: Truncating an audio file
Re: Truncating an audio file
- Subject: Re: Truncating an audio file
- From: Kevin Dixon <email@hidden>
- Date: Wed, 31 Jul 2013 22:17:03 -0700
AIFF and WAV should also work perfectly, as they are flat files (header, header, PCM), though you will have to close/truncate the file, the open and update the header to have correct info about duration, etc.
I think you will find you need to update the header of MP3 as well, though "missing data", if it falls after a frame boundary, will probably just generate a warning in a decoder--then again, 60 seconds of silence should compress pretty well-- you'll have to update the header regardless if you want the length info to be right.
-Kevin
_______________________________________________
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