From b327bd178b8d7b61c084b4d4e1032d95678b04de Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Wed, 18 Dec 2002 07:13:42 +0000 Subject: Initial framework for SysEx output support. svn-id: r6010 --- sound/mpu401.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/mpu401.cpp') diff --git a/sound/mpu401.cpp b/sound/mpu401.cpp index f2e2ca5e9e..c3c7d1a2b9 100644 --- a/sound/mpu401.cpp +++ b/sound/mpu401.cpp @@ -31,6 +31,7 @@ void MidiChannel_MPU401::init (MidiDriver_MPU401 *owner, byte channel) _allocated = false; } +MidiDriver *MidiChannel_MPU401::device() { return _owner; } void MidiChannel_MPU401::noteOff (byte note) { _owner->send(note << 8 | 0x80 | _channel); } void MidiChannel_MPU401::noteOn (byte note, byte velocity) { _owner->send (velocity << 16 | note << 8 | 0x90 | _channel); } void MidiChannel_MPU401::programChange (byte program) { _owner->send(program << 8 | 0xC0 | _channel); } -- cgit v1.2.3