mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
channelmix: remove LFE when cutoff is <= 0.0
This commit is contained in:
parent
6dbdb2eecb
commit
7241bf3c54
1 changed files with 3 additions and 1 deletions
|
|
@ -215,8 +215,10 @@ static int make_matrix(struct channelmix *mix)
|
|||
keep |= FRONT;
|
||||
if (mix->lfe_cutoff > 0.0f)
|
||||
keep |= _MASK(LFE);
|
||||
else
|
||||
keep &= ~_MASK(LFE);
|
||||
|
||||
spa_log_debug(mix->log, "unassigned downmix %08" PRIx64, unassigned);
|
||||
spa_log_debug(mix->log, "unassigned downmix %08" PRIx64 " %08" PRIx64, unassigned, keep);
|
||||
|
||||
if (unassigned & FRONT){
|
||||
if ((dst_mask & STEREO) == STEREO){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue