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

#include <monitor_port.h>

Classes

struct  MonitorInfo
 

Public Member Functions

 MonitorPort (const MonitorPort &)=delete
 
MonitorPortoperator= (const MonitorPort &)=delete
 
 ~MonitorPort ()
 
void set_buffer_size (pframes_t)
 
bool silent () const
 
AudioBufferget_audio_buffer (pframes_t)
 
void add_port (std::string const &)
 
void remove_port (std::string const &, bool instantly=false)
 
bool monitoring (std::string const &="") const
 
void active_monitors (std::list< std::string > &) const
 
void set_active_monitors (std::list< std::string > const &)
 
void clear_ports (bool instantly)
 

Public Attributes

PBD::Signal< void(std::string, bool)> MonitorInputChanged
 

Protected Member Functions

 MonitorPort ()
 
void monitor (PortEngine &, pframes_t)
 

Private Types

typedef std::map< std::string, std::shared_ptr< MonitorInfo > > MonitorPorts
 

Private Member Functions

void collect (std::shared_ptr< MonitorInfo >, Sample *, pframes_t, std::string const &)
 
void finalize (pframes_t)
 

Private Attributes

SerializedRCUManager< MonitorPorts_monitor_ports
 
AudioBuffer_buffer
 
ArdourZita::VMResampler _src
 
Sample_input
 
Sample_data
 
pframes_t _insize
 
bool _silent
 

Friends

class PortManager
 

Detailed Description

Definition at line 35 of file monitor_port.h.

Member Typedef Documentation

◆ MonitorPorts

typedef std::map<std::string, std::shared_ptr<MonitorInfo> > ARDOUR::MonitorPort::MonitorPorts
private

Definition at line 75 of file monitor_port.h.

Constructor & Destructor Documentation

◆ MonitorPort() [1/2]

ARDOUR::MonitorPort::MonitorPort ( const MonitorPort )
delete

◆ ~MonitorPort()

ARDOUR::MonitorPort::~MonitorPort ( )

◆ MonitorPort() [2/2]

ARDOUR::MonitorPort::MonitorPort ( )
protected

Member Function Documentation

◆ active_monitors()

void ARDOUR::MonitorPort::active_monitors ( std::list< std::string > &  ) const

◆ add_port()

void ARDOUR::MonitorPort::add_port ( std::string const &  )

◆ clear_ports()

void ARDOUR::MonitorPort::clear_ports ( bool  instantly)

◆ collect()

void ARDOUR::MonitorPort::collect ( std::shared_ptr< MonitorInfo ,
Sample ,
pframes_t  ,
std::string const &   
)
private

◆ finalize()

void ARDOUR::MonitorPort::finalize ( pframes_t  )
private

◆ get_audio_buffer()

AudioBuffer& ARDOUR::MonitorPort::get_audio_buffer ( pframes_t  )

◆ monitor()

void ARDOUR::MonitorPort::monitor ( PortEngine ,
pframes_t   
)
protected

◆ monitoring()

bool ARDOUR::MonitorPort::monitoring ( std::string const &  = "") const

◆ operator=()

MonitorPort& ARDOUR::MonitorPort::operator= ( const MonitorPort )
delete

◆ remove_port()

void ARDOUR::MonitorPort::remove_port ( std::string const &  ,
bool  instantly = false 
)

◆ set_active_monitors()

void ARDOUR::MonitorPort::set_active_monitors ( std::list< std::string > const &  )

◆ set_buffer_size()

void ARDOUR::MonitorPort::set_buffer_size ( pframes_t  )

◆ silent()

bool ARDOUR::MonitorPort::silent ( ) const

Friends And Related Function Documentation

◆ PortManager

friend class PortManager
friend

Definition at line 56 of file monitor_port.h.

Member Data Documentation

◆ _buffer

AudioBuffer* ARDOUR::MonitorPort::_buffer
private

Definition at line 78 of file monitor_port.h.

◆ _data

Sample* ARDOUR::MonitorPort::_data
private

Definition at line 81 of file monitor_port.h.

◆ _input

Sample* ARDOUR::MonitorPort::_input
private

Definition at line 80 of file monitor_port.h.

◆ _insize

pframes_t ARDOUR::MonitorPort::_insize
private

Definition at line 82 of file monitor_port.h.

◆ _monitor_ports

SerializedRCUManager<MonitorPorts> ARDOUR::MonitorPort::_monitor_ports
private

Definition at line 76 of file monitor_port.h.

◆ _silent

bool ARDOUR::MonitorPort::_silent
private

Definition at line 83 of file monitor_port.h.

◆ _src

ArdourZita::VMResampler ARDOUR::MonitorPort::_src
private

Definition at line 79 of file monitor_port.h.

◆ MonitorInputChanged

PBD::Signal<void(std::string, bool)> ARDOUR::MonitorPort::MonitorInputChanged

Definition at line 53 of file monitor_port.h.


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