From 5ad91e71d8e4ac5cce567009eb17e98750c289f1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 23 Jan 2007 23:56:35 +0000 Subject: Alsa MIDI compilation fixes. git-svn-id: http://svn.drobilla.net/lad/ingen@270 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/AlsaMidiDriver.cpp | 2 +- src/libs/engine/AlsaMidiDriver.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/libs/engine') diff --git a/src/libs/engine/AlsaMidiDriver.cpp b/src/libs/engine/AlsaMidiDriver.cpp index 3d1ebbd2..1c2401ed 100644 --- a/src/libs/engine/AlsaMidiDriver.cpp +++ b/src/libs/engine/AlsaMidiDriver.cpp @@ -130,7 +130,7 @@ AlsaMidiPort::prepare_block(const SampleCount block_start, const SampleCount blo size_t event_size = 0; // decoded length of Alsa event in bytes int timestamp = 0; - while (!_events.is_empty() && _events.front().time.tick < block_end) { + while (!_events.empty() && _events.front().time.tick < block_end) { assert(nu_events < _patch_port->buffer_size()); ev = &_events.front(); message = &_patch_port->buffer(0)->data()[nu_events]; diff --git a/src/libs/engine/AlsaMidiDriver.h b/src/libs/engine/AlsaMidiDriver.h index 414b524f..ce0df093 100644 --- a/src/libs/engine/AlsaMidiDriver.h +++ b/src/libs/engine/AlsaMidiDriver.h @@ -55,11 +55,11 @@ public: DuplexPort* patch_port() const { return _patch_port; } private: - AlsaMidiDriver* _driver; - DuplexPort* _patch_port; - int _port_id; - unsigned char** _midi_pool; ///< Pool of raw MIDI events for MidiMessage::buffer - SRSWQueue _events; + AlsaMidiDriver* _driver; + DuplexPort* _patch_port; + int _port_id; + unsigned char** _midi_pool; ///< Pool of raw MIDI events for MidiMessage::buffer + Raul::SRSWQueue _events; }; @@ -89,7 +89,7 @@ public: { return new AlsaMidiPort(this, patch_port); } void add_port(DriverPort* port); - DriverPort* remove_port(const Path& path); + DriverPort* remove_port(const Raul::Path& path); snd_seq_t* seq_handle() const { return _seq_handle; } snd_midi_event_t* event_coder() const { return _event_coder; } -- cgit v1.2.1