diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/adlib.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/midi/adlib.cpp b/backends/midi/adlib.cpp index a1387cd406..07111afd89 100644 --- a/backends/midi/adlib.cpp +++ b/backends/midi/adlib.cpp @@ -77,6 +77,7 @@ private: void allocate() { _allocated = true; } public: + MidiDriver *device(); byte getNumber() { return _channel; } void release() { _allocated = false; } @@ -579,6 +580,11 @@ void AdlibPart::init (MidiDriver_ADLIB *owner, byte channel) { } +MidiDriver *AdlibPart::device() +{ + return _owner; +} + void AdlibPart::noteOff (byte note) { _owner->part_key_off (this, note); |