Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::Panner1in2out Class Reference

#include <panner_1in2out.h>

Inheritance diagram for ARDOUR::Panner1in2out:
[legend]

Public Member Functions

 Panner1in2out (std::shared_ptr< Pannable >)
 
 ~Panner1in2out ()
 
void set_position (double)
 
bool clamp_position (double &)
 
std::pair< double, double > position_range () const
 
double position () const
 
ChanCount in () const
 
ChanCount out () const
 
std::string value_as_string (std::shared_ptr< const AutomationControl >) const
 
XMLNodeget_state () const
 
void reset ()
 
- Public Member Functions inherited from ARDOUR::Panner
 Panner (std::shared_ptr< Pannable >)
 
 ~Panner ()
 
virtual std::shared_ptr< Speakersget_speakers () const
 
virtual void configure_io (ARDOUR::ChanCount, ARDOUR::ChanCount)
 
virtual bool clamp_width (double &)
 
virtual bool clamp_elevation (double &)
 
virtual std::pair< double, double > width_range () const
 
virtual std::pair< double, double > elevation_range () const
 
virtual void set_width (double)
 
virtual void set_elevation (double)
 
virtual double width () const
 
virtual double elevation () const
 
virtual PBD::AngularVector signal_position (uint32_t) const
 
virtual void distribute (BufferSet &ibufs, BufferSet &obufs, gain_t gain_coeff, pframes_t nframes)
 
virtual void distribute_automated (BufferSet &ibufs, BufferSet &obufs, samplepos_t start, samplepos_t end, pframes_t nframes, pan_t **buffers)
 
int set_state (const XMLNode &, int version)
 
std::shared_ptr< Pannablepannable () const
 
virtual void freeze ()
 
virtual void thaw ()
 
const std::set< Evoral::Parameter > & what_can_be_automated () const
 
- Public Member Functions inherited from PBD::Stateful
 Stateful ()
 
virtual ~Stateful ()
 
virtual bool apply_change (PropertyBase const &)
 
PropertyChange apply_changes (PropertyList const &)
 
const OwnedPropertyListproperties () const
 
void add_property (PropertyBase &s)
 
void add_extra_xml (XMLNode &)
 
XMLNodeextra_xml (const std::string &str, bool add_if_missing=false)
 
void save_extra_xml (const XMLNode &)
 
const PBD::IDid () const
 
bool set_id (const XMLNode &)
 
void set_id (const std::string &)
 
void reset_id ()
 
void clear_changes ()
 
virtual void clear_owned_changes ()
 
PropertyListget_changes_as_properties (PBD::Command *) const
 
virtual void rdiff (std::vector< PBD::Command * > &) const
 
bool changed () const
 
virtual PropertyListproperty_factory (const XMLNode &) const
 
virtual void suspend_property_changes ()
 
virtual void resume_property_changes ()
 
bool property_changes_suspended () const
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Static Public Member Functions

static Pannerfactory (std::shared_ptr< Pannable >, std::shared_ptr< Speakers >)
 

Protected Member Functions

void distribute_one (AudioBuffer &src, BufferSet &obufs, gain_t gain_coeff, pframes_t nframes, uint32_t which)
 
void distribute_one_automated (AudioBuffer &srcbuf, BufferSet &obufs, samplepos_t start, samplepos_t end, pframes_t nframes, pan_t **buffers, uint32_t which)
 
void update ()
 
- Protected Member Functions inherited from PBD::Stateful
void add_instant_xml (XMLNode &, const std::string &directory_path)
 
XMLNodeinstant_xml (const std::string &str, const std::string &directory_path)
 
void add_properties (XMLNode &) const
 
PropertyChange set_values (XMLNode const &)
 
virtual void post_set (const PropertyChange &)
 
virtual void send_change (const PropertyChange &)
 
virtual void mid_thaw (const PropertyChange &)
 
bool regenerate_xml_or_string_ids () const
 

Protected Attributes

float left
 
float right
 
float desired_left
 
float desired_right
 
float left_interp
 
float right_interp
 
- Protected Attributes inherited from ARDOUR::Panner
std::shared_ptr< Pannable_pannable
 
std::set< Evoral::Parameter_can_automate_list
 
int32_t _frozen
 
- Protected Attributes inherited from PBD::Stateful
XMLNode_extra_xml
 
XMLNode_instant_xml
 
PBD::PropertyChange _pending_changed
 
Glib::Threads::Mutex _lock
 
std::string _xml_node_name
 name of node to use for this object in XML More...
 
OwnedPropertyList_properties
 

Additional Inherited Members

- Public Attributes inherited from ARDOUR::Panner
PBD::Signal< void()> SignalPositionChanged
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 

Detailed Description

Definition at line 40 of file panner_1in2out.h.

Constructor & Destructor Documentation

◆ Panner1in2out()

ARDOUR::Panner1in2out::Panner1in2out ( std::shared_ptr< Pannable )

◆ ~Panner1in2out()

ARDOUR::Panner1in2out::~Panner1in2out ( )

Member Function Documentation

◆ clamp_position()

bool ARDOUR::Panner1in2out::clamp_position ( double &  )
virtual

Reimplemented from ARDOUR::Panner.

◆ distribute_one()

void ARDOUR::Panner1in2out::distribute_one ( AudioBuffer src,
BufferSet obufs,
gain_t  gain_coeff,
pframes_t  nframes,
uint32_t  which 
)
protectedvirtual

Implements ARDOUR::Panner.

◆ distribute_one_automated()

void ARDOUR::Panner1in2out::distribute_one_automated ( AudioBuffer srcbuf,
BufferSet obufs,
samplepos_t  start,
samplepos_t  end,
pframes_t  nframes,
pan_t **  buffers,
uint32_t  which 
)
protectedvirtual

Implements ARDOUR::Panner.

◆ factory()

static Panner* ARDOUR::Panner1in2out::factory ( std::shared_ptr< Pannable ,
std::shared_ptr< Speakers  
)
static

◆ get_state()

XMLNode& ARDOUR::Panner1in2out::get_state ( ) const
virtual

Reimplemented from ARDOUR::Panner.

◆ in()

ChanCount ARDOUR::Panner1in2out::in ( ) const
inlinevirtual

Implements ARDOUR::Panner.

Definition at line 52 of file panner_1in2out.h.

◆ out()

ChanCount ARDOUR::Panner1in2out::out ( ) const
inlinevirtual

Implements ARDOUR::Panner.

Definition at line 57 of file panner_1in2out.h.

◆ position()

double ARDOUR::Panner1in2out::position ( ) const
virtual

Reimplemented from ARDOUR::Panner.

◆ position_range()

std::pair<double, double> ARDOUR::Panner1in2out::position_range ( ) const
virtual

Reimplemented from ARDOUR::Panner.

◆ reset()

void ARDOUR::Panner1in2out::reset ( )
virtual

Implements ARDOUR::Panner.

◆ set_position()

void ARDOUR::Panner1in2out::set_position ( double  )
virtual

Reimplemented from ARDOUR::Panner.

◆ update()

void ARDOUR::Panner1in2out::update ( )
protected

◆ value_as_string()

std::string ARDOUR::Panner1in2out::value_as_string ( std::shared_ptr< const AutomationControl ) const
virtual

Implements ARDOUR::Panner.

Member Data Documentation

◆ desired_left

float ARDOUR::Panner1in2out::desired_left
protected

Definition at line 73 of file panner_1in2out.h.

◆ desired_right

float ARDOUR::Panner1in2out::desired_right
protected

Definition at line 74 of file panner_1in2out.h.

◆ left

float ARDOUR::Panner1in2out::left
protected

Definition at line 71 of file panner_1in2out.h.

◆ left_interp

float ARDOUR::Panner1in2out::left_interp
protected

Definition at line 75 of file panner_1in2out.h.

◆ right

float ARDOUR::Panner1in2out::right
protected

Definition at line 72 of file panner_1in2out.h.

◆ right_interp

float ARDOUR::Panner1in2out::right_interp
protected

Definition at line 76 of file panner_1in2out.h.


The documentation for this class was generated from the following file: