mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
channelmix: add more generic upmixing
Add options to enable lfe filtering and upmix. Enable upmix by default, lfe is disabled because we don't actually do a lowpass filter yet.
This commit is contained in:
parent
c7309f0248
commit
6324298bc5
6 changed files with 67 additions and 17 deletions
|
|
@ -48,6 +48,8 @@ struct channelmix {
|
|||
uint32_t cpu_flags;
|
||||
#define CHANNELMIX_OPTION_MIX_LFE (1<<0) /**< mix LFE */
|
||||
#define CHANNELMIX_OPTION_NORMALIZE (1<<1) /**< normalize volumes */
|
||||
#define CHANNELMIX_OPTION_UPMIX (1<<2) /**< do simple upmixing */
|
||||
#define CHANNELMIX_OPTION_FILTER_LFE (1<<3) /**< generate and filter LFE */
|
||||
uint32_t options;
|
||||
|
||||
struct spa_log *log;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue