aboutsummaryrefslogtreecommitdiff
path: root/sound/midistreamer.h
diff options
context:
space:
mode:
authorJamieson Christian2002-11-26 16:54:58 +0000
committerJamieson Christian2002-11-26 16:54:58 +0000
commit973164a74177f5f3fe3b15567f7a0ac329abdc52 (patch)
tree8244e071531983592feaf41ad128322f97ccf50a /sound/midistreamer.h
parent4544d24fe2995426bb8687799f84fe673cca6f06 (diff)
downloadscummvm-rg350-973164a74177f5f3fe3b15567f7a0ac329abdc52.tar.gz
scummvm-rg350-973164a74177f5f3fe3b15567f7a0ac329abdc52.tar.bz2
scummvm-rg350-973164a74177f5f3fe3b15567f7a0ac329abdc52.zip
Restructured MIDI channel allocation architecture.
Adlib no longer suffers from 16-channel MIDI restrictions. Fixes a regression in the MI2 intro music under Adlib. svn-id: r5721
Diffstat (limited to 'sound/midistreamer.h')
-rw-r--r--sound/midistreamer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/midistreamer.h b/sound/midistreamer.h
index 62f95db70b..d2b70bed86 100644
--- a/sound/midistreamer.h
+++ b/sound/midistreamer.h
@@ -59,6 +59,9 @@ public:
void setTimerCallback (void *timer_param, void (*timer_proc) (void *)) { }
uint32 getBaseTempo (void) { return _target->getBaseTempo(); }
+
+ MidiChannel *allocateChannel() { return NULL; }
+ MidiChannel *getPercussionChannel() { return NULL; }
};
#endif