diff options
author | peter1138 <peter1138@openttd.org> | 2009-07-10 18:22:04 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2009-07-10 18:22:04 +0000 |
commit | c654dedb28b9f3f15eda261545daa333534a7177 (patch) | |
tree | 36b846358b2cab6dbbfa20604dbe3098084d24f6 /src/mixer.cpp | |
parent | 1c1b6da4a3f1a457b5e202f33fc51860a90e4573 (diff) | |
download | openttd-c654dedb28b9f3f15eda261545daa333534a7177.tar.xz |
(svn r16784) -Fix: Audio playback rate was fixed at 11025Hz regardless of the rate specified to the audio driver, resulting in incorrect playback speed. It is still preferable to use 11025Hz output rate if possible as OpenTTD's sample rate converter is very low quality.
Diffstat (limited to 'src/mixer.cpp')
-rw-r--r-- | src/mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixer.cpp b/src/mixer.cpp index 3a55b7fad..c6c5776da 100644 --- a/src/mixer.cpp +++ b/src/mixer.cpp @@ -26,7 +26,7 @@ struct MixerChannel { }; static MixerChannel _channels[8]; -static uint32 _play_rate; +static uint32 _play_rate = 11025; /** * The theoretical maximum volume for a single sound sample. Multiple sound |