SDL_mixer: Problem with Ogg samples

When I load and play Ogg Vorbis sound files, they sound garbled.

SDL 1.2.7 (compiled locally)
SDL_mixer 1.2.5 (compiled locally with OGG_MUSIC defined)
Compiler: VC7.1 (i.e. MS Visual Studio .net 2003)
OS: Windows 2000
Function used to load ogg files: Mix_LoadWAV_RW

The Ogg files are created with OggEnc v1.0.1. WinAmp plays them correctly.
SDL_mixer plays the source WAV files correctly, but not the Ogg files.

Before I investigate this in more detail, does anybody here have any ideas
what is causing this problem or how to fix it?–
Rainer Deyke - rainerd at eldwood.com - http://eldwood.com

Rainer Deyke wrote:

When I load and play Ogg Vorbis sound files, they sound garbled.

I managed to fix this by downloading the latest versions of libogg and
libvorbis, recompiling them with the runtime library set to multithreaded
DLL, and recompiling SDL_mixer.–
Rainer Deyke - rainerd at eldwood.com - http://eldwood.com