InstrumentTrack: another explicit for single stream property

This commit is contained in:
Tobias Doerffel
2014-03-08 12:57:32 +01:00
parent ba324f4aa8
commit 3d0c5e9f48

View File

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