NO-OP: reduce scope
This commit is contained in:
parent
dd30b8b31e
commit
33f85b094b
@ -184,8 +184,7 @@ InternalSend::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else if (role () == Listen) {
|
||||||
if (role () == Listen) {
|
|
||||||
/* We're going to the monitor bus, so discard MIDI data */
|
/* We're going to the monitor bus, so discard MIDI data */
|
||||||
|
|
||||||
uint32_t const bufs_audio = bufs.count ().get (DataType::AUDIO);
|
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 {
|
} else {
|
||||||
|
/* no panner or panner is bypassed */
|
||||||
assert (mixbufs.available () >= bufs.count ());
|
assert (mixbufs.available () >= bufs.count ());
|
||||||
mixbufs.read_from (bufs, nframes);
|
mixbufs.read_from (bufs, nframes);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* main gain control: * mute & bypass/enable */
|
/* main gain control: * mute & bypass/enable */
|
||||||
gain_t tgain = target_gain ();
|
gain_t tgain = target_gain ();
|
||||||
|
Loading…
Reference in New Issue
Block a user