Its *just* a guess: Yesterday I wrote about having problems with mono sound.
The file you attached is mono. Could it be that you have only trouble with
files encoded mono and the ones with stereo just play fine?

Regards
Leonard Penzer


-----Ursprüngliche Nachricht-----
Von: Pradeep Sriram [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 22. Februar 2007 15:05
An: [email protected]
Betreff: AUDDEC_process corrupting input buffer during mp3 playback

Hi all,
I am having trouble playing mp3 files. The playback is garbled and noisy.
Also note that the problem is observed in some mp3 files only.
After debugging I came to conclusion that somewhere AUDDEC_process function
"corrupts" the input buffer. 

I changed decodeAudioBuffer function in demos/decode/audio.c as below

  
    copy inBuf to a temporary buffer

    /* Decode the audio buffer */
    status = AUDDEC_process(hDecode, &inBufDesc, &outBufDesc, &inArgs,
&outArgs); 

    compare inBuf to the temporary buffer

I build a combo server with TI's evaluation MP3 library
(mp3dec_tii_l1l2l3.l64P size:432806 bytes)

Regards,
Pradeep Sriram

PS: I have attached a very small mp3 file having this problem. 


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to