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.
This commit is contained in:
Tobias Doerffel
2014-02-06 23:43:01 +01:00
parent 8c06cb60f4
commit 1adc8f8ba3

View File

@@ -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 )
{