mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
NO-OP: reduce scope
This commit is contained in:
parent
dd30b8b31e
commit
33f85b094b
1 changed files with 36 additions and 37 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue