aboutsummaryrefslogtreecommitdiff
path: root/kyra/sound.h
diff options
context:
space:
mode:
authorJames Brown2004-11-14 14:11:54 +0000
committerJames Brown2004-11-14 14:11:54 +0000
commit8f1307ff6ca772b43b10ba77e9d32ddcc1c67f62 (patch)
tree8b88cd0b651667f6b026a1e00154e2095c647192 /kyra/sound.h
parent61efd5ff0ea65b9e2f2d5f0ea956cc4755809bb8 (diff)
downloadscummvm-rg350-8f1307ff6ca772b43b10ba77e9d32ddcc1c67f62.tar.gz
scummvm-rg350-8f1307ff6ca772b43b10ba77e9d32ddcc1c67f62.tar.bz2
scummvm-rg350-8f1307ff6ca772b43b10ba77e9d32ddcc1c67f62.zip
Patch #1066150 from eriktorbjorn - Enable adlib emulated midi as fallback where hardware synth is unavailable.
svn-id: r15807
Diffstat (limited to 'kyra/sound.h')
-rw-r--r--kyra/sound.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kyra/sound.h b/kyra/sound.h
index dfe393e53c..e9e33952fc 100644
--- a/kyra/sound.h
+++ b/kyra/sound.h
@@ -25,6 +25,7 @@ namespace Kyra {
void stopMusic();
void playTrack(uint8 track);
+ void setPassThrough(bool b) { _passThrough = b; }
//MidiDriver interface implementation
int open();
@@ -47,6 +48,7 @@ namespace Kyra {
uint8 _channelVolume[16];
MidiDriver* _driver;
bool _nativeMT32;
+ bool _passThrough;
uint8 _volume;
bool _isPlaying;
MidiParser* _parser;