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

#include <alsa_rawmidi.h>

Inheritance diagram for ARDOUR::AlsaRawMidiIO:
[legend]

Public Member Functions

 AlsaRawMidiIO (const std::string &name, const char *device, const bool input)
 
virtual ~AlsaRawMidiIO ()
 
- Public Member Functions inherited from ARDOUR::AlsaMidiIO
 AlsaMidiIO ()
 
virtual ~AlsaMidiIO ()
 
int state (void) const
 
int start ()
 
int stop ()
 
void setup_timing (const size_t samples_per_period, const float samplerate)
 
void sync_time (uint64_t)
 
virtual void * main_process_thread ()=0
 
const std::string & name () const
 

Protected Attributes

snd_rawmidi_t * _device
 
- Protected Attributes inherited from ARDOUR::AlsaMidiIO
pthread_t _main_thread
 
pthread_mutex_t _notify_mutex
 
pthread_cond_t _notify_ready
 
int _state
 
bool _running
 
int _npfds
 
struct pollfd * _pfds
 
double _sample_length_us
 
double _period_length_us
 
size_t _samples_per_period
 
uint64_t _clock_monotonic
 
PBD::RingBuffer< uint8_t > * _rb
 
std::string _name
 

Private Member Functions

void init (const char *device_name, const bool input)
 

Additional Inherited Members

Detailed Description

Definition at line 34 of file alsa_rawmidi.h.

Constructor & Destructor Documentation

◆ AlsaRawMidiIO()

ARDOUR::AlsaRawMidiIO::AlsaRawMidiIO ( const std::string &  name,
const char *  device,
const bool  input 
)

◆ ~AlsaRawMidiIO()

virtual ARDOUR::AlsaRawMidiIO::~AlsaRawMidiIO ( )
virtual

Member Function Documentation

◆ init()

void ARDOUR::AlsaRawMidiIO::init ( const char *  device_name,
const bool  input 
)
privatevirtual

Implements ARDOUR::AlsaMidiIO.

Member Data Documentation

◆ _device

snd_rawmidi_t* ARDOUR::AlsaRawMidiIO::_device
protected

Definition at line 40 of file alsa_rawmidi.h.


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