PlaySound wrong speed with some sampling rates (SDL)

Linux specific forum
Marlin
Enthusiast
Enthusiast
Posts: 406
Joined: Sun Sep 17, 2006 1:24 pm
Location: Germany

PlaySound wrong speed with some sampling rates (SDL)

Post by Marlin »

PlaySound seems to play too fast with sampling rates like 8000 Hz, 16000 Hz, 24000 Hz ...

The speed seems OK with 44000 Hz, 22000Hz, 11000Hz, 5500Hz.
(It plays a little too slow with 48000 Hz.)

I didn't see that problem on Windows.

I suspect it stems from an SDL limitation:
http://bugzilla.libsdl.org/show_bug.cgi?id=58

Can anyone confirm that?
Is there a way around that?