19 #ifndef __libbackend_alsa_rawmidi_h__
20 #define __libbackend_alsa_rawmidi_h__
26 #include <alsa/asoundlib.h>
43 void init (
const char *device_name,
const bool input);
61 int queue_event (
const uint64_t,
const uint8_t *,
const size_t);
103 void prepare(
const uint64_t time,
const size_t size) {
const std::string & name() const
AlsaRawMidiIO(const std::string &name, const char *device, const bool input)
void init(const char *device_name, const bool input)
bool prepare_buffered_event(const uint64_t time)
void * main_process_thread()
void prepare_byte_event(const uint64_t time, const uint8_t byte)
void parse_events(const uint64_t, const uint8_t *, const size_t)
struct ARDOUR::AlsaRawMidiIn::ParserEvent _event
bool process_byte(const uint64_t, const uint8_t)
AlsaRawMidiIn(const std::string &name, const char *device)
int queue_event(const uint64_t, const uint8_t *, const size_t)
void record_byte(uint8_t byte)
uint8_t _parser_buffer[1024]
AlsaRawMidiOut(const std::string &name, const char *device)
void * main_process_thread()
void prepare(const uint64_t time, const size_t size)
ParserEvent(const uint64_t time, const size_t size)