Allow bypassed aux-panners of multi-channel sends

This commit is contained in:
Robin Gareus 2025-03-13 13:32:31 +01:00
parent 49d9701aaf
commit 41f0fd20f1
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -290,8 +290,16 @@ InternalSend::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sa
}
} else {
/* no panner or panner is bypassed */
assert (mixbufs.available () >= bufs.count ());
/* no panner or panner is bypassed
* 1: if source has more channels than the destination bus
* only send as many channels as there ae on the destination
* (ignore excess channels)
* 2: if desination has more channels than the source:
* silence additional channels.
*
* The following assert() would go off in case of (1)
*/
//assert (mixbufs.available () >= bufs.count ());
/* BufferSet::read_from() changes the channel-conut,
* so we manually copy bufs -> mixbufs
*/