r100.0: Sound frequency: slightly wrong, half inflexible, no conversion
It's possible to play various types of music other than MIDI if you use SDL_mixer. However, if you attempt to play a WAV, OGG, MP3, or any audio format supported by SDL_mixer, it plays it at simutrans' sound frequency and not the audio frequency. I know this is somewhat unexpected, and I don't expect it fixed, but when I downsampled a tune, I noticed something odd...
Are you sure you meant to use 22500Hz? Because the closest standard frequency is 22050Hz.
[ben@roflcopter ~/Desktop/FOLDERS/simutrans]$ grep 22500 */*
music/sdl_midi.cc: Mix_OpenAudio(22500, AUDIO_S16SYS, 2, 1024);
sound/sdl_mixer_sound.cc: int freq = 22500;
sound/sdl_sound.cc: desired.freq = 22500;
By the way, if you're afraid of breaking stuff, don't worry too much about it. If you get a frequency converter set up though, or the sounds happen to be 22050Hz, then I recommend you tweak those.
Also, I'm pretty sure some cards don't particularly like frequencies they're not used to, but I'm also pretty sure that most OSes convert the frequencies anyway (I think mine works best with 48000Hz or something).
ALSO: Why does sdl_midi use a static frequency? That needs to be fixed.
EDIT: By the way, I am running FreeBSD, not Linux, although they are quite similar.