Page 1 of 1

PlaySound wrong speed with some sampling rates (SDL)

Posted: Sun Jan 27, 2008 4:31 pm
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?