Send All Notes Off to every channel on close

svn-id: r9593
This commit is contained in:
Jamieson Christian 2003-08-08 07:23:11 +00:00
parent 73eda504b9
commit 4353f4531c

View File

@ -97,6 +97,9 @@ void MidiDriver_MPU401::close() {
g_system->unlock_mutex (_mutex);
g_system->delete_mutex (_mutex);
}
int i;
for (i = 0; i < 16; ++i)
send (0x7B << 8 | 0xB0 | i);
}
MidiChannel *MidiDriver_MPU401::allocateChannel() {