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

#include <pulseaudio_backend.h>

Inheritance diagram for ARDOUR::PulseMidiPort:
[legend]

Public Member Functions

 PulseMidiPort (PulseAudioBackend &b, const std::string &, PortFlags)
 
 ~PulseMidiPort ()
 
DataType type () const
 
void * get_buffer (pframes_t nframes)
 
const PulseMidiBufferconst_buffer () const
 
- 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

PulseMidiBuffer _buffer
 

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 81 of file pulseaudio_backend.h.

Constructor & Destructor Documentation

◆ PulseMidiPort()

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

◆ ~PulseMidiPort()

ARDOUR::PulseMidiPort::~PulseMidiPort ( )

Member Function Documentation

◆ const_buffer()

const PulseMidiBuffer* ARDOUR::PulseMidiPort::const_buffer ( ) const
inline

Definition at line 90 of file pulseaudio_backend.h.

◆ get_buffer()

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

Implements ARDOUR::BackendPort.

◆ type()

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

Implements ARDOUR::BackendPort.

Definition at line 87 of file pulseaudio_backend.h.

Member Data Documentation

◆ _buffer

PulseMidiBuffer ARDOUR::PulseMidiPort::_buffer
private

Definition at line 93 of file pulseaudio_backend.h.


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