diff options
author | Johannes Schickel | 2014-01-16 22:16:40 +0100 |
---|---|---|
committer | Johannes Schickel | 2014-01-16 22:21:39 +0100 |
commit | 1eb10b1a468ba65014168e28c8340e45b2b19b5f (patch) | |
tree | ca1d44cf93b5c74490f27eedac572835ec9cb375 | |
parent | d99f23fb109043a7457bd68c82dd6b5a756fa3d8 (diff) | |
download | scummvm-rg350-1eb10b1a468ba65014168e28c8340e45b2b19b5f.tar.gz scummvm-rg350-1eb10b1a468ba65014168e28c8340e45b2b19b5f.tar.bz2 scummvm-rg350-1eb10b1a468ba65014168e28c8340e45b2b19b5f.zip |
AUDIO: Register EAS sound driver as plain sound type.
MIDI code will control volume via MIDI events thus the generated audio should
not be affected by mixer sound volumes.
The initial commit 0e6cdfd67580f75e912c5e92abb26821d032f74b added it as music
sound type. Might be copied from the (also) incorrect FluidSynth code.
-rw-r--r-- | audio/softsynth/eas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/softsynth/eas.cpp b/audio/softsynth/eas.cpp index ea79b25329..0631df2a7c 100644 --- a/audio/softsynth/eas.cpp +++ b/audio/softsynth/eas.cpp @@ -305,7 +305,7 @@ int MidiDriver_EAS::open() { warning("error opening EAS dump file"); #endif - g_system->getMixer()->playStream(Audio::Mixer::kMusicSoundType, + g_system->getMixer()->playStream(Audio::Mixer::kPlainSoundType, &_soundHandle, this, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, true); |