From 815a70a68246f5f842d5ba5232e7134e0a8cd91c Mon Sep 17 00:00:00 2001 From: Vesa Date: Sun, 16 Nov 2014 16:27:09 +0200 Subject: [PATCH] Sync --- src/core/FxMixer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/FxMixer.cpp b/src/core/FxMixer.cpp index f599ae52156..3437b431b34 100644 --- a/src/core/FxMixer.cpp +++ b/src/core/FxMixer.cpp @@ -175,10 +175,10 @@ void FxChannel::doProcessing() m_fxChain.startRunning(); } - m_stillRunning = m_fxChain.processAudioBuffer( _buf, fpp, m_hasInput ); + m_stillRunning = m_fxChain.processAudioBuffer( m_buffer, fpp, m_hasInput ); - m_peakLeft = qMax( m_peakLeft, engine::mixer()->peakValueLeft( _buf, fpp ) * v ); - m_peakRight = qMax( m_peakRight, engine::mixer()->peakValueRight( _buf, fpp ) * v ); + m_peakLeft = qMax( m_peakLeft, engine::mixer()->peakValueLeft( m_buffer, fpp ) * v ); + m_peakRight = qMax( m_peakRight, engine::mixer()->peakValueRight( m_buffer, fpp ) * v ); } else {