ardour
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | List of all members
ARDOUR::MuteMaster Class Reference

#include <mute_master.h>

Inheritance diagram for ARDOUR::MuteMaster:
ARDOUR::SessionHandleRef PBD::Stateful PBD::ScopedConnectionList

Public Types

enum  MutePoint { PreFader = 0x1, PostFader = 0x2, Listen = 0x4, Main = 0x8 }
 

Public Member Functions

 MuteMaster (Session &s, const std::string &name)
 
 ~MuteMaster ()
 
bool muted_by_self () const
 
bool muted_by_self_at (MutePoint mp) const
 
bool muted_by_others_at (MutePoint mp) const
 
gain_t mute_gain_at (MutePoint) const
 
void set_muted_by_self (bool yn)
 
void mute_at (MutePoint)
 
void unmute_at (MutePoint)
 
void set_mute_points (const std::string &mute_point)
 
void set_mute_points (MutePoint)
 
MutePoint mute_points () const
 
void set_soloed (bool)
 
void set_solo_ignore (bool yn)
 
XMLNodeget_state ()
 
int set_state (const XMLNode &, int version)
 
- Public Member Functions inherited from ARDOUR::SessionHandleRef
 SessionHandleRef (ARDOUR::Session &s)
 
virtual ~SessionHandleRef ()
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- Public Member Functions inherited from PBD::Stateful
 Stateful ()
 
virtual ~Stateful ()
 
virtual bool apply_changes (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 (Command *) const
 
virtual void rdiff (std::vector< 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 Attributes

PBD::Signal0< void > MutePointChanged
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal1< void, const
PropertyChange & > 
PropertyChanged
 

Static Public Attributes

static const MutePoint AllPoints
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version = 0
 
static int loading_state_version = 0
 

Private Attributes

volatile MutePoint _mute_point
 
volatile bool _muted_by_self
 
volatile bool _soloed
 
volatile bool _solo_ignore
 

Additional Inherited Members

- Protected Member Functions inherited from ARDOUR::SessionHandleRef
virtual void session_going_away ()
 
virtual void insanity_check ()
 
- 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 &)
 
PropertyChange set_values (XMLNode const &)
 
virtual void post_set (const PropertyChange &)
 
virtual void send_change (const PropertyChange &)
 
virtual void mid_thaw (const PropertyChange &)
 
- Protected Attributes inherited from ARDOUR::SessionHandleRef
ARDOUR::Session_session
 
- 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
 

Detailed Description

Definition at line 34 of file mute_master.h.

Member Enumeration Documentation

deliveries to mute when the channel is "muted"

Enumerator
PreFader 

mute all pre-fader sends

PostFader 

mute all post-fader sends

Listen 

mute listen out

Main 

mute main out

Definition at line 38 of file mute_master.h.

Constructor & Destructor Documentation

MuteMaster::MuteMaster ( Session s,
const std::string &  name 
)

Definition at line 37 of file mute_master.cc.

ARDOUR::MuteMaster::~MuteMaster ( )
inline

Definition at line 48 of file mute_master.h.

Member Function Documentation

XMLNode & MuteMaster::get_state ( void  )
virtual

Implements PBD::Stateful.

Definition at line 160 of file mute_master.cc.

void MuteMaster::mute_at ( MutePoint  mp)

Definition at line 63 of file mute_master.cc.

gain_t MuteMaster::mute_gain_at ( MutePoint  mp) const

Definition at line 87 of file mute_master.cc.

MutePoint ARDOUR::MuteMaster::mute_points ( ) const
inline

Definition at line 63 of file mute_master.h.

bool MuteMaster::muted_by_others_at ( MutePoint  mp) const

Definition at line 169 of file mute_master.cc.

bool ARDOUR::MuteMaster::muted_by_self ( ) const
inline

Definition at line 50 of file mute_master.h.

bool ARDOUR::MuteMaster::muted_by_self_at ( MutePoint  mp) const
inline

Definition at line 51 of file mute_master.h.

void MuteMaster::set_mute_points ( const std::string &  mute_point)

Definition at line 121 of file mute_master.cc.

void MuteMaster::set_mute_points ( MutePoint  mp)

Definition at line 133 of file mute_master.cc.

void ARDOUR::MuteMaster::set_muted_by_self ( bool  yn)
inline

Definition at line 56 of file mute_master.h.

void ARDOUR::MuteMaster::set_solo_ignore ( bool  yn)
inline

Definition at line 66 of file mute_master.h.

void MuteMaster::set_soloed ( bool  yn)

Definition at line 81 of file mute_master.cc.

int MuteMaster::set_state ( const XMLNode node,
int  version 
)
virtual

Implements PBD::Stateful.

Definition at line 142 of file mute_master.cc.

void MuteMaster::unmute_at ( MutePoint  mp)

Definition at line 72 of file mute_master.cc.

Member Data Documentation

volatile MutePoint ARDOUR::MuteMaster::_mute_point
private

Definition at line 74 of file mute_master.h.

volatile bool ARDOUR::MuteMaster::_muted_by_self
private

Definition at line 75 of file mute_master.h.

volatile bool ARDOUR::MuteMaster::_solo_ignore
private

Definition at line 77 of file mute_master.h.

volatile bool ARDOUR::MuteMaster::_soloed
private

Definition at line 76 of file mute_master.h.

const MuteMaster::MutePoint MuteMaster::AllPoints
static
Initial value:

Definition at line 45 of file mute_master.h.

PBD::Signal0<void> ARDOUR::MuteMaster::MutePointChanged

Definition at line 68 of file mute_master.h.


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