diff options
author | Max Horn | 2004-11-10 00:25:58 +0000 |
---|---|---|
committer | Max Horn | 2004-11-10 00:25:58 +0000 |
commit | cbfa7e3b5ccbe739631dc4bb64f3b689d6693f5d (patch) | |
tree | 9dee8f3c65cdcd84f66759a49d913bf9e77a1f5c /backends/midi | |
parent | 49c49a2a963a01919543a5088b8b7b7e2d740968 (diff) | |
download | scummvm-rg350-cbfa7e3b5ccbe739631dc4bb64f3b689d6693f5d.tar.gz scummvm-rg350-cbfa7e3b5ccbe739631dc4bb64f3b689d6693f5d.tar.bz2 scummvm-rg350-cbfa7e3b5ccbe739631dc4bb64f3b689d6693f5d.zip |
Use the actual output rate of the sound mixer when producing MT32 audio samples -> by default only does 22.5 kHz -> it's now actually almost usable on my machine ;-). Alternative approach might be to hard code 32000 here
svn-id: r15775
Diffstat (limited to 'backends/midi')
-rw-r--r-- | backends/midi/mt32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/mt32.cpp b/backends/midi/mt32.cpp index 9c50da139a..6b2d576852 100644 --- a/backends/midi/mt32.cpp +++ b/backends/midi/mt32.cpp @@ -153,7 +153,7 @@ MidiDriver_MT32::MidiDriver_MT32(SoundMixer *mixer) : MidiDriver_Emulated(mixer) _baseFreq = 1000; - _outputRate = 44100; + _outputRate = _mixer->getOutputRate(); } MidiDriver_MT32::~MidiDriver_MT32() { |