From b8d70d26faea1ed71b0176326c97859b31afb8ef Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Thu, 24 Nov 2016 09:24:00 -0600 Subject: MT32: Update Munt to 2.0.1-pre This update uses upstream commit f88ef828a600ce66d1f730c8fb2a7f580f6f6165. This update switches to use the new Munt C++ interface, which will allow ScummVM to link to an external Munt library instead of requiring it to be built-in in the future. For the moment, the emulator is still built-in, since it is not available from most package repositories. The Munt driver in ScummVM now uses writeSysex instead of the (now-private) playSysexWithoutFraming, per recommendation from the Munt team . This changeset also removes direct modifications that used to be made to Munt code, to ease future updates. To update Munt code in the future: 1. Replace all source files in the `softsynth/mt32` directory with new files from the upstream `mt32emu/src` directory; 2. Update `config.h` with the correct version number for the new version of Munt; 3. Update `module.mk` to add any new source files that need to be built. --- audio/softsynth/mt32/module.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'audio/softsynth/mt32/module.mk') diff --git a/audio/softsynth/mt32/module.mk b/audio/softsynth/mt32/module.mk index f966da8d08..1a27492c2a 100644 --- a/audio/softsynth/mt32/module.mk +++ b/audio/softsynth/mt32/module.mk @@ -3,8 +3,11 @@ MODULE := audio/softsynth/mt32 MODULE_OBJS := \ Analog.o \ BReverbModel.o \ + File.o \ + FileStream.o \ LA32Ramp.o \ LA32WaveGenerator.o \ + MidiStreamParser.o \ Part.o \ Partial.o \ PartialManager.o \ @@ -14,7 +17,9 @@ MODULE_OBJS := \ Tables.o \ TVA.o \ TVF.o \ - TVP.o + TVP.o \ + sha1/sha1.o \ + c_interface/c_interface.o # Include common rules include $(srcdir)/rules.mk -- cgit v1.2.3