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

#include <pulseaudio_backend.h>

Inheritance diagram for ARDOUR::PulseAudioPort:
[legend]

Public Member Functions

 PulseAudioPort (PulseAudioBackend &b, const std::string &, PortFlags)
 
 ~PulseAudioPort ()
 
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 65 of file pulseaudio_backend.h.

Constructor & Destructor Documentation

◆ PulseAudioPort()

ARDOUR::PulseAudioPort::PulseAudioPort ( PulseAudioBackend b,
const std::string &  ,
PortFlags   
)

◆ ~PulseAudioPort()

ARDOUR::PulseAudioPort::~PulseAudioPort ( )

Member Function Documentation

◆ buffer()

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

Definition at line 73 of file pulseaudio_backend.h.

◆ const_buffer()

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

Definition at line 74 of file pulseaudio_backend.h.

◆ get_buffer()

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

Implements ARDOUR::BackendPort.

◆ type()

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

Implements ARDOUR::BackendPort.

Definition at line 71 of file pulseaudio_backend.h.

Member Data Documentation

◆ _buffer

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

Definition at line 78 of file pulseaudio_backend.h.


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