mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-19 16:01:45 +00:00
channelmix: don't use default map for mono
Keep the original channel map so that we can match the channels properly when remixing.
This commit is contained in:
parent
22a210e798
commit
3ab3157bf1
|
@ -329,9 +329,9 @@ static int setup_convert(struct impl *this,
|
||||||
dst_mask |= 1ULL << (p < 64 ? p : 0);
|
dst_mask |= 1ULL << (p < 64 ? p : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (src_mask & 1 || src_chan == 1)
|
if (src_mask & 1)
|
||||||
src_mask = default_mask(src_chan);
|
src_mask = default_mask(src_chan);
|
||||||
if (dst_mask & 1 || dst_chan == 1)
|
if (dst_mask & 1)
|
||||||
dst_mask = default_mask(dst_chan);
|
dst_mask = default_mask(dst_chan);
|
||||||
|
|
||||||
spa_log_info(this->log, "%p: %s/%d@%d->%s/%d@%d %08"PRIx64":%08"PRIx64, this,
|
spa_log_info(this->log, "%p: %s/%d@%d->%s/%d@%d %08"PRIx64":%08"PRIx64, this,
|
||||||
|
|
Loading…
Reference in a new issue