mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05: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
|
|
@ -44,9 +44,6 @@
|
|||
|
||||
#include "channelmix-ops.h"
|
||||
|
||||
#undef SPA_LOG_TOPIC_DEFAULT
|
||||
#define SPA_LOG_TOPIC_DEFAULT log_topic
|
||||
static struct spa_log_topic *log_topic = &SPA_LOG_TOPIC(0, "spa.channelmix");
|
||||
|
||||
#define DEFAULT_RATE 48000
|
||||
#define DEFAULT_CHANNELS 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue