mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
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:
parent
49c49a2a96
commit
cbfa7e3b5c
@ -153,7 +153,7 @@ MidiDriver_MT32::MidiDriver_MT32(SoundMixer *mixer) : MidiDriver_Emulated(mixer)
|
||||
|
||||
_baseFreq = 1000;
|
||||
|
||||
_outputRate = 44100;
|
||||
_outputRate = _mixer->getOutputRate();
|
||||
}
|
||||
|
||||
MidiDriver_MT32::~MidiDriver_MT32() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user