mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
audioconvert: fix mono channel mix test
When we have a single MONO channel, distribute and average. Otherwise, use the logic to do proper mixing. Adjust the unit test accordingly.
This commit is contained in:
parent
ce02c7d435
commit
6b34b8c44e
4 changed files with 43 additions and 16 deletions
|
|
@ -28,6 +28,10 @@
|
|||
#include <spa/utils/defs.h>
|
||||
#include <spa/param/audio/raw.h>
|
||||
|
||||
#undef SPA_LOG_TOPIC_DEFAULT
|
||||
#define SPA_LOG_TOPIC_DEFAULT log_topic
|
||||
extern struct spa_log_topic *log_topic;
|
||||
|
||||
#include "crossover.h"
|
||||
|
||||
#define VOLUME_MIN 0.0f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue