summaryrefslogtreecommitdiff
path: root/muse2/muse/controlfifo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/controlfifo.cpp')
-rw-r--r--muse2/muse/controlfifo.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/muse2/muse/controlfifo.cpp b/muse2/muse/controlfifo.cpp
index c9ff9ed6..b3b293bb 100644
--- a/muse2/muse/controlfifo.cpp
+++ b/muse2/muse/controlfifo.cpp
@@ -34,7 +34,6 @@ bool ControlFifo::put(const ControlEvent& event)
if (size < CONTROL_FIFO_SIZE) {
fifo[wIndex] = event;
wIndex = (wIndex + 1) % CONTROL_FIFO_SIZE;
- // q_atomic_increment(&size);
++size;
return false;
}
@@ -49,7 +48,6 @@ ControlEvent ControlFifo::get()
{
ControlEvent event(fifo[rIndex]);
rIndex = (rIndex + 1) % CONTROL_FIFO_SIZE;
- // q_atomic_decrement(&size);
--size;
return event;
}
@@ -71,7 +69,6 @@ const ControlEvent& ControlFifo::peek(int n)
void ControlFifo::remove()
{
rIndex = (rIndex + 1) % CONTROL_FIFO_SIZE;
- // q_atomic_decrement(&size);
--size;
}