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

#include <dummy_audiobackend.h>

Inheritance diagram for ARDOUR::DummyPort:
[legend]

Public Member Functions

virtual ~DummyPort ()
 
void next_period ()
 
- Public Member Functions inherited from ARDOUR::BackendPort
virtual ~BackendPort ()
 
const std::string & name () const
 
const std::string & pretty_name () const
 
const std::string & hw_port_name () const
 
int set_name (const std::string &name)
 
int set_pretty_name (const std::string &name)
 
int set_hw_port_name (const std::string &name)
 
virtual DataType type () const =0
 
PortFlags flags () const
 
bool is_input () const
 
bool is_output () const
 
bool is_physical () const
 
bool is_terminal () const
 
bool is_connected () const
 
bool is_connected (BackendPortHandle port) const
 
bool is_physically_connected () const
 
const std::set< BackendPortPtr > & get_connections () const
 
int connect (BackendPortHandle port, BackendPortHandle self)
 
int disconnect (BackendPortHandle port, BackendPortHandle self)
 
void disconnect_all (BackendPortHandle self)
 
virtual void * get_buffer (pframes_t nframes)=0
 
const LatencyRange latency_range (bool for_playback) const
 
void set_latency_range (const LatencyRange &latency_range, bool for_playback)
 
void update_connected_latency (bool for_playback)
 
- Public Member Functions inherited from ARDOUR::ProtoPort
 ProtoPort ()
 
virtual ~ProtoPort ()
 

Protected Member Functions

 DummyPort (DummyAudioBackend &b, const std::string &, PortFlags)
 
void setup_random_number_generator ()
 
float randf ()
 
uint32_t randi ()
 
pframes_t pulse_position () const
 
- Protected Member Functions inherited from ARDOUR::BackendPort
 BackendPort (PortEngineSharedImpl &b, const std::string &, PortFlags)
 

Protected Attributes

uint32_t _rseed
 
volatile bool _gen_cycle
 
Glib::Threads::Mutex generator_lock
 
- Protected Attributes inherited from ARDOUR::BackendPort
PortEngineSharedImpl_backend
 

Private Attributes

AudioBackend_engine
 

Detailed Description

Definition at line 70 of file dummy_audiobackend.h.

Constructor & Destructor Documentation

◆ DummyPort()

ARDOUR::DummyPort::DummyPort ( DummyAudioBackend b,
const std::string &  ,
PortFlags   
)
protected

◆ ~DummyPort()

virtual ARDOUR::DummyPort::~DummyPort ( )
virtual

Member Function Documentation

◆ next_period()

void ARDOUR::DummyPort::next_period ( )
inline

Definition at line 76 of file dummy_audiobackend.h.

◆ pulse_position()

pframes_t ARDOUR::DummyPort::pulse_position ( ) const
protected

◆ randf()

float ARDOUR::DummyPort::randf ( )
inlineprotected

◆ randi()

uint32_t ARDOUR::DummyPort::randi ( )
inlineprotected

◆ setup_random_number_generator()

void ARDOUR::DummyPort::setup_random_number_generator ( )
protected

Member Data Documentation

◆ _engine

AudioBackend& ARDOUR::DummyPort::_engine
private

Definition at line 92 of file dummy_audiobackend.h.

◆ _gen_cycle

volatile bool ARDOUR::DummyPort::_gen_cycle
protected

Definition at line 88 of file dummy_audiobackend.h.

◆ _rseed

uint32_t ARDOUR::DummyPort::_rseed
protected

Definition at line 83 of file dummy_audiobackend.h.

◆ generator_lock

Glib::Threads::Mutex ARDOUR::DummyPort::generator_lock
protected

Definition at line 89 of file dummy_audiobackend.h.


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