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

#include <alsa_audiobackend.h>

Inheritance diagram for ARDOUR::AlsaAudioPort:
[legend]

Public Member Functions

 AlsaAudioPort (AlsaAudioBackend &b, const std::string &, PortFlags)
 
 ~AlsaAudioPort ()
 
DataType type () const
 
Samplebuffer ()
 
const Sampleconst_buffer () const
 
void * get_buffer (pframes_t nframes)
 
- 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)
 
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)
 
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 ()
 

Private Attributes

Sample _buffer [8192]
 

Additional Inherited Members

- Protected Member Functions inherited from ARDOUR::BackendPort
 BackendPort (PortEngineSharedImpl &b, const std::string &, PortFlags)
 
- Protected Attributes inherited from ARDOUR::BackendPort
PortEngineSharedImpl_backend
 

Detailed Description

Definition at line 68 of file alsa_audiobackend.h.

Constructor & Destructor Documentation

◆ AlsaAudioPort()

ARDOUR::AlsaAudioPort::AlsaAudioPort ( AlsaAudioBackend b,
const std::string &  ,
PortFlags   
)

◆ ~AlsaAudioPort()

ARDOUR::AlsaAudioPort::~AlsaAudioPort ( )

Member Function Documentation

◆ buffer()

Sample* ARDOUR::AlsaAudioPort::buffer ( )
inline

Definition at line 75 of file alsa_audiobackend.h.

◆ const_buffer()

const Sample* ARDOUR::AlsaAudioPort::const_buffer ( ) const
inline

Definition at line 76 of file alsa_audiobackend.h.

◆ get_buffer()

void* ARDOUR::AlsaAudioPort::get_buffer ( pframes_t  nframes)
virtual

Implements ARDOUR::BackendPort.

◆ type()

DataType ARDOUR::AlsaAudioPort::type ( ) const
inlinevirtual

Implements ARDOUR::BackendPort.

Definition at line 73 of file alsa_audiobackend.h.

Member Data Documentation

◆ _buffer

Sample ARDOUR::AlsaAudioPort::_buffer[8192]
private

Definition at line 80 of file alsa_audiobackend.h.


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