summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/engine/AlsaMidiDriver.cpp2
-rw-r--r--src/libs/engine/AlsaMidiDriver.h12
2 files changed, 7 insertions, 7 deletions
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<MidiMessage>* patch_port() const { return _patch_port; }
private:
- AlsaMidiDriver* _driver;
- DuplexPort<MidiMessage>* _patch_port;
- int _port_id;
- unsigned char** _midi_pool; ///< Pool of raw MIDI events for MidiMessage::buffer
- SRSWQueue<snd_seq_event_t> _events;
+ AlsaMidiDriver* _driver;
+ DuplexPort<MidiMessage>* _patch_port;
+ int _port_id;
+ unsigned char** _midi_pool; ///< Pool of raw MIDI events for MidiMessage::buffer
+ Raul::SRSWQueue<snd_seq_event_t> _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; }