summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/AlsaMidiDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/AlsaMidiDriver.cpp')
-rw-r--r--src/libs/engine/AlsaMidiDriver.cpp2
1 files changed, 1 insertions, 1 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];