Changing the size (duration) of an Audiofile
Changing the size (duration) of an Audiofile
- Subject: Changing the size (duration) of an Audiofile
- From: "Asher Vander Heiden" <email@hidden>
- Date: Tue, 27 Jul 2004 18:12:27 +1000
Hi All,
How can you reduce the length (duration) of an AudioFile?
Due to factors that I wont go into, after processing my AudioFiles end up
with a period of silence at the end of the file. I would really like to know
if there is a way of chopping off these unwanted zeros? I have actually
managed to extract the data from an AudioFile and placed it into a buffer. I
have removed the zeros and have places the data into a new buffer and into a
new AudioFile. I set the new AudioFile with the reduced number of bytes and
fames and it seemed to have worked ! Until I went to open the file and it
tells me the file has an incorrect duration?
I would greatly appreciate it if anyone could give me any ideas to solve
this problems.
Asher Vander Heiden.
_________________________________________________________________
Find love today with ninemsn personals. Click here:
http://ninemsn.match.com?referrer=hotmailtagline
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.