On Thu, 2002-07-18 at 05:54, Sang Hoon Lee wrote:
I installed madplay on StrongArm board using ucb1200 device. I think that the pcm or wav output file is correct, but when I run the madplay for playing mp3 file, the result is somewhat weird. I mean, if I play 30 sec's mp3 file with madplay, the output sound's length is about 28 seconds. So, the voice's frequency in that mp3 file sounds somewhat higher than that of the original. Please give me the light what I'm doing wrong.
Is it possible that your board's output frequency is 48000 Hz? If madplay simply outputs 44100 Hz data, and your board played it at 48000 Hz, that would account for the discrepancy; 48000/44100 = 1.088, while 30/28 = 1.07. This seems the most likely to me.