diff options
author | Jamieson Christian | 2002-12-18 07:13:42 +0000 |
---|---|---|
committer | Jamieson Christian | 2002-12-18 07:13:42 +0000 |
commit | b327bd178b8d7b61c084b4d4e1032d95678b04de (patch) | |
tree | 3e50733056786cacf62b5d6ac00adb81b59e179b /sound/mpu401.cpp | |
parent | 5233fbc7bda3097a687af0a5a23f30b8894023be (diff) | |
download | scummvm-rg350-b327bd178b8d7b61c084b4d4e1032d95678b04de.tar.gz scummvm-rg350-b327bd178b8d7b61c084b4d4e1032d95678b04de.tar.bz2 scummvm-rg350-b327bd178b8d7b61c084b4d4e1032d95678b04de.zip |
Initial framework for SysEx output support.
svn-id: r6010
Diffstat (limited to 'sound/mpu401.cpp')
-rw-r--r-- | sound/mpu401.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |