mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
audioconvert: run lr4 on tagged channels in generic case
Mark the LFE channels and run the lowpass filter on them in the generic case. Generates LFE correctly in 2.1 upmix case. See #1095
This commit is contained in:
parent
71824d0b03
commit
5724093343
3 changed files with 12 additions and 2 deletions
|
|
@ -78,6 +78,10 @@ channelmix_f32_n_m_c(struct channelmix *mix, uint32_t n_dst, void * SPA_RESTRICT
|
|||
d[i][n] = sum;
|
||||
}
|
||||
}
|
||||
for (i = 0; i < n_dst; i++) {
|
||||
if (mix->lr4_info[i] > 0)
|
||||
lr4_process(&mix->lr4[i], d[i], n_samples);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue