aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--patchmatrix_mixer.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/VERSION b/VERSION
index 83b4730..b38e1e7 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.27.1
+0.27.3
diff --git a/patchmatrix_mixer.c b/patchmatrix_mixer.c
index 55cdd35..4e0523a 100644
--- a/patchmatrix_mixer.c
+++ b/patchmatrix_mixer.c
@@ -87,24 +87,24 @@ _midi_handle(mixer_app_t *mixer, jack_midi_event_t *ev)
{
case 0x62: // NRPN_LSB
{
- mixer->nrpn[chn] &= 0x3f80;
+ mixer->nrpn[chn] &= ~0x3f80;
mixer->nrpn[chn] |= val;
} break;
case 0x63: // NRPN_MSB
{
- mixer->nrpn[chn] &= 0x7f;
+ mixer->nrpn[chn] &= ~0x7f;
mixer->nrpn[chn] |= (val << 7);
} break;
case 0x26: // DATA_LSB
{
- mixer->data[chn] &= 0x3f80;
+ mixer->data[chn] &= ~0x3f80;
mixer->data[chn] |= val;
_midi_handle_data(mixer, chn);
} break;
case 0x06: // DATA_MSB
{
- mixer->data[chn] &= 0x7f;
+ mixer->data[chn] &= ~0x7f;
mixer->data[chn] |= (val << 7);
_midi_handle_data(mixer, chn);