[SDL] SDL_mixer sounds garbled
Ryan C. Gordon
icculus at clutteredmind.org
Wed Nov 6 04:59:01 PST 2002
> I'm building a MP3 player with SDL and SDL_mixer. When I play an MP3 with
> SDL_mixer it sounds kind of garbled, almost like it's not decoding properly.
> The file is ABR, 44.1Khz encoded by lame. Is ABR a problem? If I play it using
> madplay it sounds just fine.
Please try it with "plaympeg" from the SMPEG distribution (since SMPEG is
what SDL_mixer uses for decoding).
If this sounds okay, it's probably a bug in your code (opened the audio
device at a bad setting, etc).
More information about the SDL