bool clamp_position (double&);
bool clamp_width (double&);
+ std::pair<double, double> position_range () const;
+ std::pair<double, double> width_range () const;
+
void set_position (double);
void set_width (double);
static Panner* factory (boost::shared_ptr<Pannable>, boost::shared_ptr<Speakers>);
std::string describe_parameter (Evoral::Parameter);
- std::string value_as_string (boost::shared_ptr<AutomationControl>) const;
+ std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
- XMLNode& state (bool full_state);
- XMLNode& get_state (void);
- int set_state (const XMLNode&, int version);
+ XMLNode& get_state ();
void update ();
+ void reset ();
+ void thaw ();
+
protected:
float left[2];
float right[2];
private:
bool clamp_stereo_pan (double& direction_as_lr_fract, double& width);
-
+
void distribute_one (AudioBuffer& srcbuf, BufferSet& obufs, gain_t gain_coeff, pframes_t nframes, uint32_t which);
void distribute_one_automated (AudioBuffer& srcbuf, BufferSet& obufs,
framepos_t start, framepos_t end, pframes_t nframes,