scummvm/audio
Johannes Schickel a1cfe235e4 AUDIO: Reduce callback frequency of the MT-32 emulator.
Formerly the frequency was at 10000Hz. This resulted in 3,4 or even only 1
sample to be generated between callbacks on my system. All the other MIDI
drivers use a much lower frequency here. The MidiDriver_Emulated subclasses
use a frequency of 250Hz (by default) and the MidiDriver_MPU401 subclasses
(which are for example the ALSA output) use 100Hz. With the new frequency
of 250Hz 128 samples are generated between callbacks. This will hopefully
reduce the overhead of the MT-32 emulator (the engine's code was run 10000
times a second too) a bit.

I talked with KingGuppy and it seems the value was increased in the past
(still with the very old MT-32 emulator code) because there were accuracy
issues. However, I gave the lower frequency a quick test with the MI1, MI2
and ITE intro and didn't spot any obvious differences. As a result, KingGuppy
and I agreed to lower it back to 250Hz. If there are any problems coming up
we can still slightly increase the frequency to 1000Hz for example.

Thanks to waltervn for noticing this. Thanks to KingGuppy for discussion.
2013-05-17 00:40:34 +02:00
..
decoders AUDIO: Cleanup naming 2013-04-20 15:18:09 -04:00
mods AUDIO: Do not error out when channel offset >= length after interrupt() 2013-04-28 17:31:53 +02:00
softsynth AUDIO: Reduce callback frequency of the MT-32 emulator. 2013-05-17 00:40:34 +02:00
audiostream.cpp AUDIO: Handle empty parent stream in LoopingAudioStream 2013-04-21 13:52:40 +02:00
audiostream.h AUDIO: Move LimitingAudioStream to audio/ 2012-08-12 00:08:13 -04:00
fmopl.cpp AUDIO: Fix identation. CID 1003641 2013-04-28 23:59:20 +03:00
fmopl.h AUDIO: Add easy way to write to OPL3's secondary register set. 2012-10-01 01:50:23 +02:00
mididrv.cpp JANITORIAL: Remove trailing whitespaces. 2012-09-26 04:17:55 +02:00
mididrv.h AUDIO: Add support for Sam&Max's OPL3 output in our SCUMM AdLib driver. 2012-10-01 03:10:44 +02:00
midiparser_qt.cpp AUDIO: Finish comment 2012-12-03 09:07:33 -05:00
midiparser_qt.h AUDIO: Add some general documentation on MidiParser_QT 2012-12-13 18:30:05 -05:00
midiparser_smf.cpp AUDIO: Add missing breaks to switch statement - CID 1003770 2013-05-01 15:46:23 +03:00
midiparser_xmidi.cpp XMIDI: Forget old loop points when changing track 2013-05-04 21:57:00 +02:00
midiparser.cpp AUDIO: Fix unitialized variable. CID 1003162 2013-05-02 14:01:13 +03:00
midiparser.h Merge remote branch 'upstream/master' into qtmidi 2012-09-07 19:03:01 -04:00
midiplayer.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
midiplayer.h AUDIO: Adapt include guard names to the "new" directory name. 2011-10-28 12:27:50 +02:00
mixer_intern.h AUDIO: Remove unused MixerImpl::_syst member var 2013-04-18 23:50:20 +02:00
mixer.cpp AUDIO: Fix uninitalized variable. CID 1003160 2013-05-02 14:10:40 +03:00
mixer.h AUDIO: Update Mixer class doxygen comment on balance to be consistent. 2012-06-24 22:34:49 +01:00
module.mk AUDIO: Add parsing of the QuickTime MIDI sample description 2012-09-05 23:04:29 -04:00
mpu401.cpp OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
mpu401.h AUDIO: Adapt include guard names to the "new" directory name. 2011-10-28 12:27:50 +02:00
musicplugin.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
musicplugin.h AUDIO: Adapt include guard names to the "new" directory name. 2011-10-28 12:27:50 +02:00
null.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
null.h AUDIO: Adapt include guard names to the "new" directory name. 2011-10-28 12:27:50 +02:00
rate_arm_asm.s AUDIO: Fix some comments and whitespace 2011-10-31 23:28:53 +01:00
rate_arm.cpp JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
rate.cpp AUDIO/BACKENDS/GRAPHICS: Add error checks after allocating memory with malloc 2011-06-23 15:11:36 +08:00
rate.h AUDIO: Adapt include guard names to the "new" directory name. 2011-10-28 12:27:50 +02:00
timestamp.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
timestamp.h AUDIO: Adapt include guard names to the "new" directory name. 2011-10-28 12:27:50 +02:00