mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
62387f8d38
* MIDI/KYRA: Add channel locking and GM to XMIDI This improves support for XMIDI channel locking and moves it from the KYRA engine to the generic Miles MIDI driver. To support this, a source parameter is added to the XMIDI parser and Miles driver so the driver can distinguish several XMIDI parser instances sending MIDI events. I've also added GM support to the generic Miles MIDI driver. The previous implementation of channel locking did not always track and restore controller values properly when unlocking a channel. Specifically, at the start of Legend of Kyrandia, when Brandon talks to the tree, the tree "creaking" sound effect uses some channels from the background music. The volume of the music channels was not correctly restored, resulting in some instruments being much louder then others. Another issue was that volume was not always properly set when locking a channel. In the Legend of Kyrandia intro, when Brandon is lifted up to the house, some sound effects were missing because MIDI channel volume was 0. This new implementation fixes these issues. * MIDI: Suppress Miles controller warnings Several Miles controller MIDI messages generate warnings in the XMIDI parser, even though they are handled by the Miles drivers. I've removed these. * MIDI: Fix Codacy issues
94 lines
1.6 KiB
Makefile
94 lines
1.6 KiB
Makefile
MODULE := audio
|
|
|
|
MODULE_OBJS := \
|
|
adlib.o \
|
|
audiostream.o \
|
|
fmopl.o \
|
|
mididrv.o \
|
|
midiparser_qt.o \
|
|
midiparser_smf.o \
|
|
midiparser_xmidi.o \
|
|
midiparser.o \
|
|
midiplayer.o \
|
|
miles_adlib.o \
|
|
miles_midi.o \
|
|
mixer.o \
|
|
mpu401.o \
|
|
musicplugin.o \
|
|
null.o \
|
|
timestamp.o \
|
|
decoders/3do.o \
|
|
decoders/aac.o \
|
|
decoders/adpcm.o \
|
|
decoders/aiff.o \
|
|
decoders/flac.o \
|
|
decoders/iff_sound.o \
|
|
decoders/mac_snd.o \
|
|
decoders/mp3.o \
|
|
decoders/qdm2.o \
|
|
decoders/quicktime.o \
|
|
decoders/raw.o \
|
|
decoders/voc.o \
|
|
decoders/vorbis.o \
|
|
decoders/wave.o \
|
|
decoders/xa.o \
|
|
mods/infogrames.o \
|
|
mods/maxtrax.o \
|
|
mods/mod_xm_s3m.o \
|
|
mods/module.o \
|
|
mods/module_mod_xm_s3m.o \
|
|
mods/protracker.o \
|
|
mods/paula.o \
|
|
mods/rjp1.o \
|
|
mods/soundfx.o \
|
|
mods/tfmx.o \
|
|
softsynth/cms.o \
|
|
softsynth/opl/dbopl.o \
|
|
softsynth/opl/dosbox.o \
|
|
softsynth/opl/mame.o \
|
|
softsynth/fmtowns_pc98/pc98_audio.o \
|
|
softsynth/fmtowns_pc98/towns_audio.o \
|
|
softsynth/fmtowns_pc98/towns_euphony.o \
|
|
softsynth/fmtowns_pc98/towns_pc98_driver.o \
|
|
softsynth/fmtowns_pc98/towns_pc98_fmsynth.o \
|
|
softsynth/fmtowns_pc98/towns_pc98_plugins.o \
|
|
softsynth/appleiigs.o \
|
|
softsynth/fluidsynth.o \
|
|
softsynth/mt32.o \
|
|
softsynth/eas.o \
|
|
softsynth/pcspk.o \
|
|
softsynth/sid.o \
|
|
softsynth/wave6581.o
|
|
|
|
ifndef DISABLE_NUKED_OPL
|
|
MODULE_OBJS += \
|
|
softsynth/opl/nuked.o
|
|
endif
|
|
|
|
ifdef USE_A52
|
|
MODULE_OBJS += \
|
|
decoders/ac3.o
|
|
endif
|
|
|
|
ifdef USE_ALSA
|
|
MODULE_OBJS += \
|
|
alsa_opl.o
|
|
endif
|
|
|
|
ifdef ENABLE_OPL2LPT
|
|
MODULE_OBJS += \
|
|
opl2lpt.o
|
|
endif
|
|
|
|
ifndef USE_ARM_SOUND_ASM
|
|
MODULE_OBJS += \
|
|
rate.o
|
|
else
|
|
MODULE_OBJS += \
|
|
rate_arm.o \
|
|
rate_arm_asm.o
|
|
endif
|
|
|
|
# Include common rules
|
|
include $(srcdir)/rules.mk
|