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/openttd.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/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 6f2cc4814..962a05143 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -18,7 +18,6 @@ #include "fontcache.h" #include "gfxinit.h" #include "gui.h" -#include "mixer.h" #include "sound_func.h" #include "window_func.h" @@ -584,7 +583,6 @@ int ttd_main(int argc, char *argv[]) /* Sample catalogue */ DEBUG(misc, 1, "Loading sound effects..."); - MxInitialize(11025); SoundInitialize("sample.cat"); /* Initialize FreeType */ |