13
0

NO-OP: reduce scope

This commit is contained in:
Robin Gareus 2020-03-12 02:13:27 +01:00
parent dd30b8b31e
commit 33f85b094b
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -184,8 +184,7 @@ InternalSend::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sa
}
}
}
} else {
if (role () == Listen) {
} else if (role () == Listen) {
/* We're going to the monitor bus, so discard MIDI data */
uint32_t const bufs_audio = bufs.count ().get (DataType::AUDIO);
@ -225,10 +224,10 @@ InternalSend::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sa
}
} else {
/* no panner or panner is bypassed */
assert (mixbufs.available () >= bufs.count ());
mixbufs.read_from (bufs, nframes);
}
}
/* main gain control: * mute & bypass/enable */
gain_t tgain = target_gain ();