summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-05-04 09:40:28 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2018-05-04 09:40:28 -0400
commita5e8a69dec467cc7d938cc3d92acb218b04486a9 (patch)
tree045d9dd7650548dfb4a9a8262e856b12a809d7be /libs/ardour/session_state.cc
parent2e41652e617a9d9e938aca267035bf788d096753 (diff)
add well known controls to list accessible via a MIDI binding map (or OSC?)
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc53
1 files changed, 53 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index fcaa76e2ee..346a359229 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -3816,6 +3816,58 @@ Session::controllable_by_descriptor (const ControllableDescriptor& desc)
c = s->pan_elevation_control();
break;
+ case EQEnableAutomation:
+ c = s->eq_enable_controllable();
+ break;
+
+ case EQGainAutomation:
+ c = s->eq_gain_controllable(desc.target (0));
+ break;
+
+ case EQFreqAutomation:
+ c = s->eq_freq_controllable(desc.target(0));
+ break;
+
+ case EQQAutomation:
+ c = s->eq_q_controllable(desc.target(0));
+ break;
+
+ case EQShapeAutomation:
+ c = s->eq_shape_controllable(desc.target(0));
+ break;
+
+ case FilterFreqAutomation:
+ c = s->filter_freq_controllable(desc.target(0));
+ break;
+
+ case FilterSlopeAutomation:
+ c = s->filter_slope_controllable(desc.target(0));
+ break;
+
+ case FilterEnableAutomation:
+ c = s->filter_enable_controllable(desc.target(0));
+ break;
+
+ case CompressorEnableAutomation:
+ c = s->comp_enable_controllable();
+ break;
+
+ case CompressorThresholdAutomation:
+ c = s->comp_threshold_controllable();
+ break;
+
+ case CompressorSpeedAutomation:
+ c = s->comp_speed_controllable();
+ break;
+
+ case CompressorModeAutomation:
+ c = s->comp_mode_controllable();
+ break;
+
+ case CompressorMakeupAutomation:
+ c = s->comp_makeup_controllable();
+ break;
+
case PluginAutomation:
{
uint32_t plugin = desc.target (0);
@@ -3856,6 +3908,7 @@ Session::controllable_by_descriptor (const ControllableDescriptor& desc)
break;
}
+
default:
/* relax and return a null pointer */
break;