2011-06-12

SDL Mixer Weirdness

The SDL mixer won’t play samples at 32KHz correctly. It plays them at half speed. My guess is that it can only handle sounds that are 44050Hz, 22025Hz, etc, and anything else it plays at one of those frequencies. I spotted this whilst making the OSX port of Earth Shaker but couldn’t find any reference to it online, so I thought I’d make a note for myself here.