From 3d0c5e9f48ab75974b95a79c711f2d9accce3613 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sat, 8 Mar 2014 12:57:32 +0100 Subject: [PATCH] InstrumentTrack: another explicit for single stream property --- src/tracks/InstrumentTrack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracks/InstrumentTrack.cpp b/src/tracks/InstrumentTrack.cpp index 33aff61dd..5e5688169 100644 --- a/src/tracks/InstrumentTrack.cpp +++ b/src/tracks/InstrumentTrack.cpp @@ -195,7 +195,7 @@ void InstrumentTrack::processAudioBuffer( sampleFrame* buf, const fpp_t frames, // instruments using instrument-play-handles will call this method // without any knowledge about notes, so they pass NULL for n, which // is no problem for us since we just bypass the envelopes+LFOs - if( n ) + if( m_instrument->flags().testFlag( Instrument::IsSingleStreamed ) == false && n != NULL ) { m_soundShaping.processAudioBuffer( buf, frames, n ); v_scale *= ( (float) n->getVolume() / DefaultVolume );