diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-06-25 10:06:44 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-06-25 10:06:57 -0400 |
commit | ff03eeab04cac06315de078a639869258af49c0c (patch) | |
tree | ec9340c945d86f8ffc7a0e878b1a485724284cde /libs/surfaces/generic_midi | |
parent | d7ac5792b87d2306a8f4da2965d116b308a5ac8b (diff) |
fix mixing scope brace
Diffstat (limited to 'libs/surfaces/generic_midi')
-rw-r--r-- | libs/surfaces/generic_midi/generic_midi_control_protocol.cc | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/libs/surfaces/generic_midi/generic_midi_control_protocol.cc b/libs/surfaces/generic_midi/generic_midi_control_protocol.cc index a620998a1c..fb644a9aea 100644 --- a/libs/surfaces/generic_midi/generic_midi_control_protocol.cc +++ b/libs/surfaces/generic_midi/generic_midi_control_protocol.cc @@ -1213,6 +1213,7 @@ GenericMidiControlProtocol::lookup_controllable (const string & str) const c = s->eq_shape_controllable (band); } } + } else if (path[1] == X_("filter")) { /* /route/filter/hi/freq */ @@ -1235,20 +1236,21 @@ GenericMidiControlProtocol::lookup_controllable (const string & str) const c = s->filter_slope_controllable (filter); } - } else if (path[1] == X_("compressor")) { - - if (path.size() == 3) { - if (path[2] == X_("enable")) { - c = s->comp_enable_controllable (); - } else if (path[2] == X_("threshold")) { - c = s->comp_threshold_controllable (); - } else if (path[2] == X_("mode")) { - c = s->comp_mode_controllable (); - } else if (path[2] == X_("speed")) { - c = s->comp_speed_controllable (); - } else if (path[2] == X_("makeup")) { - c = s->comp_makeup_controllable (); - } + } + + } else if (path[1] == X_("compressor")) { + + if (path.size() == 3) { + if (path[2] == X_("enable")) { + c = s->comp_enable_controllable (); + } else if (path[2] == X_("threshold")) { + c = s->comp_threshold_controllable (); + } else if (path[2] == X_("mode")) { + c = s->comp_mode_controllable (); + } else if (path[2] == X_("speed")) { + c = s->comp_speed_controllable (); + } else if (path[2] == X_("makeup")) { + c = s->comp_makeup_controllable (); } } } |