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:
Wim Taymans 2021-04-26 17:34:14 +02:00
parent 71824d0b03
commit 5724093343
3 changed files with 12 additions and 2 deletions

View file

@ -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);
}
}
}