Skip to content

Commit

Permalink
Fix #25: Cloned events are not transposed/mapped on the destiny channel.
Browse files Browse the repository at this point in the history
  • Loading branch information
jofemodo committed Sep 29, 2020
1 parent ec1f6cb commit b7e39cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zynmidirouter.c
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,8 @@ int jack_process_zmip(int iz, jack_nframes_t nframes) {
memcpy(ebd_pointer, ev.buffer, ev.size);
ev.buffer=ebd_pointer;
ebd_pointer+=ev.size;
ev.buffer[0]=(ev.buffer[0] & 0xF0) | clone_to_chan;
event_chan=clone_to_chan;
ev.buffer[0]=(ev.buffer[0] & 0xF0) | event_chan;
//fprintf (stderr, "CLONING EVENT %d => %d [0x%x, %d]\n", clone_from_chan, clone_to_chan, event_type, event_num);
clone_to_chan++;
}
Expand Down

0 comments on commit b7e39cb

Please sign in to comment.