Hi everybody,
I'am trying to write a code using lame to decode a file. I've found at http://www.mail-archive.com/[email protected]/msg01839.html some stuff. But I sitll have questions. The code structure I want to follow is :
#1 read a part of a file (fread)
#2 Iterate to decode (e.g. realloc memory for the pcm_l and pcm_r; decode_lame and check if nout > 0 ..)
#3 write the result to a wave file (not forgetting the wave header)
First I don't know what is exactly the right amount of data to read. Second I don't know If I have to take care about the mp3 header and finally I don't know if I can realloc the pcm's pointers...
Thanks,
Daniel
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.0 - Release Date: 8/3/2005
_______________________________________________ mp3encoder mailing list [email protected] http://minnie.tuhs.org/mailman/listinfo/mp3encoder
