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

#include <alsa_midi.h>

Inheritance diagram for ARDOUR::AlsaMidiIn:
[legend]

Public Member Functions

 AlsaMidiIn ()
 
size_t recv_event (pframes_t &, uint8_t *, size_t &)
 
- 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 Member Functions

int queue_event (const uint64_t, const uint8_t *, const size_t)
 
- Protected Member Functions inherited from ARDOUR::AlsaMidiIO
virtual void init (const char *device_name, const bool input)=0
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 91 of file alsa_midi.h.

Constructor & Destructor Documentation

◆ AlsaMidiIn()

ARDOUR::AlsaMidiIn::AlsaMidiIn ( )

Member Function Documentation

◆ queue_event()

int ARDOUR::AlsaMidiIn::queue_event ( const uint64_t  ,
const uint8_t *  ,
const  size_t 
)
protected

◆ recv_event()

size_t ARDOUR::AlsaMidiIn::recv_event ( pframes_t ,
uint8_t *  ,
size_t &   
)

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