19 #ifndef _ardour_surface_websockets_mixer_h_
20 #define _ardour_surface_websockets_mixer_h_
22 #include <glibmm/threads.h>
33 : std::runtime_error (
what)
39 const char*
what()
const throw() {
return _what.c_str(); }
51 std::shared_ptr<ARDOUR::PluginInsert>
insert ()
const;
60 std::shared_ptr<ARDOUR::AutomationControl>
param_control (uint32_t)
const;
65 std::shared_ptr<ARDOUR::PluginInsert>
_insert;
74 std::shared_ptr<ARDOUR::Stripable>
stripable ()
const;
76 typedef std::map<uint32_t, std::shared_ptr<ArdourMixerPlugin> >
PluginMap;
122 typedef std::map<uint32_t, std::shared_ptr<ArdourMixerStrip> >
StripMap;
const char * what() const
~ArdourMixerNotFoundException()
ArdourMixerNotFoundException(std::string const &what)
uint32_t param_count() const
TypedValue param_value(uint32_t)
ArdourMixerPlugin(std::shared_ptr< ARDOUR::PluginInsert >)
std::shared_ptr< ARDOUR::PluginInsert > _insert
static TypedValue param_value(std::shared_ptr< ARDOUR::AutomationControl >)
std::shared_ptr< ARDOUR::PluginInsert > insert() const
std::shared_ptr< ARDOUR::AutomationControl > param_control(uint32_t) const
void set_param_value(uint32_t, TypedValue)
static double from_db(double)
static double from_velocity(int)
void on_drop_plugin(uint32_t)
ArdourMixerPlugin & plugin(uint32_t)
std::shared_ptr< ARDOUR::Stripable > _stripable
std::shared_ptr< ARDOUR::Stripable > stripable() const
static int to_velocity(double)
static double to_db(double)
float meter_level_db() const
std::map< uint32_t, std::shared_ptr< ArdourMixerPlugin > > PluginMap
ArdourMixerStrip(std::shared_ptr< ARDOUR::Stripable >, PBD::EventLoop *)
Glib::Threads::Mutex _mutex
void on_drop_strip(uint32_t)
ArdourMixer(ArdourSurface::ArdourWebsockets &surface)
ArdourMixerStrip & strip(uint32_t)
std::map< uint32_t, std::shared_ptr< ArdourMixerStrip > > StripMap
Glib::Threads::Mutex & mutex()