channelmix: add option to NORMALIZE volumes

Normalize the complete matrix with the same coefficient
This commit is contained in:
Wim Taymans 2020-09-29 12:00:46 +02:00
parent 700a0aa35c
commit f70d0b19af
2 changed files with 10 additions and 4 deletions

View file

@ -47,6 +47,7 @@ struct channelmix {
uint64_t dst_mask;
uint32_t cpu_flags;
#define CHANNELMIX_OPTION_MIX_LFE (1<<0) /**< mix LFE */
#define CHANNELMIX_OPTION_NORMALIZE (1<<1) /**< normalize volumes */
uint32_t options;
struct spa_log *log;