[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] reset to channel 0

From: Richard Shann
Subject: [Denemo-devel] reset to channel 0
Date: Tue, 11 Aug 2009 17:09:00 +0100


We are seeing output on channel 0 and channel n when we are trying to
send on channel n in jackmidi.c
It looks like this code in jackmidi.c is responsible.

                /* Before sending, reset channel to 0. XXX: Not very pretty. */
                assert(event->midi_buffer_length >= 1);
                tmp_status = event->midi_buffer[0];
                if (event->midi_buffer[0] >= 0x80 && event->midi_buffer[0] <= 
                        event->midi_buffer[0] &= 0xF0;
                memcpy(buffer, event->midi_buffer, event->midi_buffer_length);
                event->midi_buffer[0] = tmp_status;

Can you say what this was all about?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]