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
This commit is contained in:
Max Horn 2004-11-10 00:25:58 +00:00
parent 49c49a2a96
commit cbfa7e3b5c

View File

@ -153,7 +153,7 @@ MidiDriver_MT32::MidiDriver_MT32(SoundMixer *mixer) : MidiDriver_Emulated(mixer)
_baseFreq = 1000;
_outputRate = 44100;
_outputRate = _mixer->getOutputRate();
}
MidiDriver_MT32::~MidiDriver_MT32() {