From 371f14a7522a799eb9cc3bd731e54afc958b8d1b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 27 Apr 2002 14:44:07 +0000 Subject: fixed midi instrument ids in QuickTime driver svn-id: r4109 --- sound/mididrv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/mididrv.cpp') diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp index ff1e305f9e..bdf75f58ac 100644 --- a/sound/mididrv.cpp +++ b/sound/mididrv.cpp @@ -602,7 +602,7 @@ void MidiDriver_QT::send(uint32 b) { break; case 0xC0: // Program change - NASetInstrumentNumber(qtNoteAllocator, qtNoteChannel[chanID], midiCmd[1]); + NASetInstrumentNumber(qtNoteAllocator, qtNoteChannel[chanID], midiCmd[1] + 1); break; case 0xE0:{ // Pitch bend -- cgit v1.2.3