Im trying to get mp3 playback to work with libmad, but i cant for some reason. i can get the mp3 to play, and you can recognize it, but it just sounds funny. it sounds like parts of it are getting skipped, i dont get it.
http://rafb.net/paste/results/3ubQen72.html
i put my code up there so it would be easy to read, in case anyone has the chance to look over it. I realize that there will be a slight delay when reading in the new data while in the audio callback (ill fix that later with a second buffer and multithreading), but i dont think that's what is causing my problem (since the weird playback continues even when its working straight from the buffer).
ill post a compiled version so you can see what i mean by weird playback.
http://www.yousendit.com/transfer.php?a ... 78137887AD (to run it name an mp3 test.mp3 and put it in the root of the mem stick)
i really would appreciate anyone's help, ive been trying to get this working all day
Thanks,
Stuart
mp3 playback problem [resolved]
mp3 playback problem [resolved]
Last edited by sturatt on Sun Aug 20, 2006 1:08 pm, edited 1 time in total.