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

#include <alsa_audiobackend.h>

Inheritance diagram for ARDOUR::AlsaMidiPort:
[legend]

Public Member Functions

 AlsaMidiPort (AlsaAudioBackend &b, const std::string &, PortFlags)
 
 ~AlsaMidiPort ()
 
DataType type () const
 
void * get_buffer (pframes_t nframes)
 
const AlsaMidiBufferconst_buffer () const
 
void next_period ()
 
void set_n_periods (int n)
 
- 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

AlsaMidiBuffer _buffer [3]
 
int _n_periods
 
int _bufperiod
 

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 83 of file alsa_audiobackend.h.

Constructor & Destructor Documentation

◆ AlsaMidiPort()

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

◆ ~AlsaMidiPort()

ARDOUR::AlsaMidiPort::~AlsaMidiPort ( )

Member Function Documentation

◆ const_buffer()

const AlsaMidiBuffer* ARDOUR::AlsaMidiPort::const_buffer ( ) const
inline

Definition at line 91 of file alsa_audiobackend.h.

◆ get_buffer()

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

Implements ARDOUR::BackendPort.

◆ next_period()

void ARDOUR::AlsaMidiPort::next_period ( )
inline

Definition at line 93 of file alsa_audiobackend.h.

◆ set_n_periods()

void ARDOUR::AlsaMidiPort::set_n_periods ( int  n)
inline

Definition at line 94 of file alsa_audiobackend.h.

◆ type()

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

Implements ARDOUR::BackendPort.

Definition at line 88 of file alsa_audiobackend.h.

Member Data Documentation

◆ _buffer

AlsaMidiBuffer ARDOUR::AlsaMidiPort::_buffer[3]
private

Definition at line 97 of file alsa_audiobackend.h.

◆ _bufperiod

int ARDOUR::AlsaMidiPort::_bufperiod
private

Definition at line 99 of file alsa_audiobackend.h.

◆ _n_periods

int ARDOUR::AlsaMidiPort::_n_periods
private

Definition at line 98 of file alsa_audiobackend.h.


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