diff options
author | Eugene Sandulenko | 2004-10-23 20:33:39 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-10-23 20:33:39 +0000 |
commit | 0b07a5f484c6ec602625f8919df95ecbe4839b83 (patch) | |
tree | f63880076166b54e80f8d0360f3fcb541c63bad3 /backends/midi/mt32/mt32.cpp | |
parent | d168ce9394ade21ac39740dfca1aa61f3566250b (diff) | |
download | scummvm-rg350-0b07a5f484c6ec602625f8919df95ecbe4839b83.tar.gz scummvm-rg350-0b07a5f484c6ec602625f8919df95ecbe4839b83.tar.bz2 scummvm-rg350-0b07a5f484c6ec602625f8919df95ecbe4839b83.zip |
o Turn BASE_FREQ constant into variable. MT-32 has to be run in lesser time slices.
o Attempt to fix mi2, but that cure for symptom, not the cause. Under dosbox header is always valid, but here we get 0x41001612 instead of 0x41101612.
svn-id: r15669
Diffstat (limited to 'backends/midi/mt32/mt32.cpp')
-rw-r--r-- | backends/midi/mt32/mt32.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/midi/mt32/mt32.cpp b/backends/midi/mt32/mt32.cpp index c8037e8ca5..d719dafc4e 100644 --- a/backends/midi/mt32/mt32.cpp +++ b/backends/midi/mt32/mt32.cpp @@ -72,6 +72,8 @@ MidiDriver_MT32::MidiDriver_MT32(SoundMixer *mixer, const char *path) _synth = new CSynthMT32(); rom_path = path; File::addDefaultDirectory(path); + + _baseFreq = 100; } MidiDriver_MT32::~MidiDriver_MT32() { @@ -83,7 +85,7 @@ int MidiDriver_MT32::open() { if (_isOpen) return MERR_ALREADY_OPEN; - + MidiDriver_Emulated::open(); prop.SampleRate = getRate(); // 32000; |