From 6c49c88bfd0a5d756b09d7efb36e0ce797c58995 Mon Sep 17 00:00:00 2001 From: Alexandre Almeida Date: Wed, 7 Jan 2015 21:12:17 -0200 Subject: [PATCH] Update Mixer.cpp --- src/core/Mixer.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/core/Mixer.cpp b/src/core/Mixer.cpp index 0630b8e47..68b1522dc 100644 --- a/src/core/Mixer.cpp +++ b/src/core/Mixer.cpp @@ -318,9 +318,9 @@ const surroundSampleFrame * Mixer::renderNextBuffer() { m_profiler.startPeriod(); - static Song::playPos last_metro_pos = -1; + static Song::PlayPos last_metro_pos = -1; - Song::playPos p = Engine::getSong()->getPlayPos( + Song::PlayPos p = Engine::getSong()->getPlayPos( Song::Mode_PlayPattern ); if( Engine::getSong()->playMode() == Song::Mode_PlayPattern && Engine::pianoRoll()->isRecording() == true && @@ -968,6 +968,3 @@ void Mixer::fifoWriter::run() - - -