(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.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user