(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:
peter1138
2009-07-10 18:22:04 +00:00
parent 8a8731b3f0
commit 07dbd830b6
6 changed files with 6 additions and 3 deletions

View File

@@ -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