From 1adc8f8ba3d5d1fa465c1b0f12a6711c33b33bf0 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 6 Feb 2014 23:43:01 +0100 Subject: [PATCH] FxMixer: no need to check for master channel The m_used property will always be true for the master channel as soon as data was received from at least one FX channel. --- src/core/FxMixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/FxMixer.cpp b/src/core/FxMixer.cpp index ab294c747..a41a54434 100644 --- a/src/core/FxMixer.cpp +++ b/src/core/FxMixer.cpp @@ -107,7 +107,7 @@ void FxMixer::mixToChannel( const sampleFrame * _buf, fx_ch_t _ch ) void FxMixer::processChannel( fx_ch_t _ch, sampleFrame * _buf ) { if( m_fxChannels[_ch]->m_muteModel.value() == false && - ( m_fxChannels[_ch]->m_used || m_fxChannels[_ch]->m_stillRunning || _ch == 0 ) ) + ( m_fxChannels[_ch]->m_used || m_fxChannels[_ch]->m_stillRunning ) ) { if( _buf == NULL ) {