Hi all!
First of all, let me introduce myself. I'm currently
porting BennuGD (Bennu Game Development) to the Wii. BennuGD is an open source game programming language with a focus on simplicity and based on SDL.
You can see some sample BennuGD projects with source
here,
here or
here.
The thing is doing quite wel, but I'm experiencing some trouble with SDL_mixer.
Right now I start the mixer with a sampling frequency of 32KHz. When I play songs encoded at 32KHz they play fine, but when songs are stored with a different frequency, they play wrong. I mean that no frequency resampling is done, so the songs play slower or faster than they should. I've tested this behaviour is present at least with OGG music.
I would like to know if this is the expected behaviour for SDL_mixer in the Wii or if I'm doing something wrong, as the same code works fine both in Linux and Windows.
The code that handles the sound playback is
here, for the reference.
Thanks a lot for your time in answering my question, and sorry if it has aready been answered somewhere else.