25 #include "ardour/debug.h"
50 , _responding_to_control_auto_state_change (0)
121 for (Controls::const_iterator ci = c.begin(); ci != c.end(); ++ci) {
141 for (Controls::const_iterator ci = c.begin(); ci != c.end(); ++ci) {
158 for (Controls::const_iterator ci = c.begin(); ci != c.end(); ++ci) {
172 for (Controls::const_iterator ci = c.begin(); ci != c.end(); ++ci) {
206 if (root.
name() !=
X_(
"Pannable")) {
214 for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
242 if ((*niter)->name() ==
X_(
"azimuth")) {
243 prop = (*niter)->property (
X_(
"value"));
247 }
else if ((*niter)->name() ==
X_(
"width")) {
248 prop = (*niter)->property (
X_(
"value"));
252 }
else if ((*niter)->name() ==
X_(
"elevation")) {
253 prop = (*niter)->property (
X_(
"value"));
257 }
else if ((*niter)->name() ==
X_(
"frontback")) {
258 prop = (*niter)->property (
X_(
"value"));
262 }
else if ((*niter)->name() ==
X_(
"lfe")) {
263 prop = (*niter)->property (
X_(
"value"));
void set_automation_state(AutoState)
virtual std::string value_as_string(boost::shared_ptr< AutomationControl >) const
ARDOUR::Session & _session
void set_panner(boost::shared_ptr< Panner >)
const std::string & value() const
PBD::Signal0< void > automation_style_changed
void set_automation_state(AutoState)
LIBARDOUR_API uint64_t Destruction
void set_automation_style(AutoStyle m)
shared_ptr< T > dynamic_pointer_cast(shared_ptr< U > const &r)
int set_state(const XMLNode &, int version)
const std::string & name() const
boost::shared_ptr< AutomationControl > pan_elevation_control
boost::weak_ptr< Panner > _panner
LIBPBD_API Transmitter warning
const XMLNodeList & children(const std::string &str=std::string()) const
std::ostream & endmsg(std::ostream &ostr)
virtual void add_control(boost::shared_ptr< Evoral::Control >)
std::list< XMLNode * > XMLNodeList
PBD::Signal1< void, AutoState > automation_state_changed
virtual std::string value_as_string(boost::shared_ptr< AutomationControl >) const
void stop_touch(bool mark, double when)
void set_automation_style(AutoStyle m)
boost::shared_ptr< AutomationControl > pan_frontback_control
#define DEBUG_TRACE(bits, str)
boost::shared_ptr< AutomationControl > pan_azimuth_control
std::map< Parameter, boost::shared_ptr< Control > > Controls
boost::shared_ptr< Panner > panner() const
uint32_t _responding_to_control_auto_state_change
void start_touch(double when)
int set_automation_xml_state(const XMLNode &, Evoral::Parameter default_param)
static const std::string xml_node_name
void add_child_nocopy(XMLNode &)
XMLNode & state(bool full_state)
boost::shared_ptr< AutomationControl > pan_width_control
std::string value_as_string(boost::shared_ptr< AutomationControl >) const
void control_auto_state_changed(AutoState)
void start_touch(double when)
void stop_touch(bool mark, double when)
XMLNode & get_automation_xml_state()
boost::shared_ptr< AutomationList > alist() const
boost::shared_ptr< AutomationControl > pan_lfe_control
XMLNodeList::const_iterator XMLNodeConstIterator
static const std::string xml_node_name
std::string string_compose(const std::string &fmt, const T1 &o1)
double atof(const string &s)