diff options
author | Jerome Fisher | 2004-11-13 19:24:37 +0000 |
---|---|---|
committer | Jerome Fisher | 2004-11-13 19:24:37 +0000 |
commit | 5e442766e533339c1e2f3389a2859601c6ab1127 (patch) | |
tree | 4df084b6b6756901508bb6c39d4125a6a150102f /backends/midi/mt32/synth.h | |
parent | 2ae3166f2db47b7beb5225d57b5e271de33ab9cd (diff) | |
download | scummvm-rg350-5e442766e533339c1e2f3389a2859601c6ab1127.tar.gz scummvm-rg350-5e442766e533339c1e2f3389a2859601c6ab1127.tar.bz2 scummvm-rg350-5e442766e533339c1e2f3389a2859601c6ab1127.zip |
MT32 MidiDriver:
- Channels now ignore effectLevel() and chorusLevel(), instead of sending unsupported control change messages to MT32Emu (they're not supported in a real MT-32, either, according to docs).
- Implemented setPitchBendRange() by sending a sysex write command to adjust the patch.
- _outputRate is now hard-coded at 32000, until tuning can be fixed for other sample rates.
MT32EMu:
- Extended File interface to deal with reading/writing 16/32-bit values endian-independently (they're always big-endian on file).
- Improved usage of packing-related pragmas.
- Should now be endian-agnostic (without depending on #defines for the endianness).
svn-id: r15800
Diffstat (limited to 'backends/midi/mt32/synth.h')
-rw-r--r-- | backends/midi/mt32/synth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/midi/mt32/synth.h b/backends/midi/mt32/synth.h index 8d3305e0d4..f2fc3ffae6 100644 --- a/backends/midi/mt32/synth.h +++ b/backends/midi/mt32/synth.h @@ -185,6 +185,7 @@ public: // Sends a 4-byte MIDI message to the MT-32 for immediate playback void playMsg(Bit32u msg); + static Bit8u calcSysexChecksum(Bit8u *data, Bit32u len, Bit8u checksum); // Sends a string of Sysex commands to the MT-32 for immediate interpretation // The length is in bytes void playSysex(Bit8u *sysex, Bit32u len); |