mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-19 16:01:45 +00:00
channelmix: 1 channel MONO or FC should be handled the same.
They were handled the same, remove the wrong line to attempt to make them different.
This commit is contained in:
parent
7e5a0849f6
commit
22a210e798
|
@ -169,11 +169,8 @@ static int make_matrix(struct channelmix *mix)
|
|||
else
|
||||
src_mask |= (1ULL << SPA_AUDIO_CHANNEL_FC);
|
||||
}
|
||||
if ((dst_mask & (1Ull << SPA_AUDIO_CHANNEL_MONO)) != 0) {
|
||||
if (mix->dst_chan == 1)
|
||||
dst_mask = 0;
|
||||
if ((dst_mask & (1Ull << SPA_AUDIO_CHANNEL_MONO)) != 0)
|
||||
dst_mask |= (1ULL << SPA_AUDIO_CHANNEL_FC);
|
||||
}
|
||||
|
||||
/* shift so that bit 0 is FL */
|
||||
src_mask >>= 3;
|
||||
|
|
Loading…
Reference in a new issue