From b62fa9faf23266db95f3902626e31e53771539b5 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 2 Sep 2020 18:50:01 +0200 Subject: [PATCH] channelmix: disable normalize for now Volume is too low and we don't choose the right functions all the time. Needs more work. --- spa/plugins/audioconvert/channelmix-ops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spa/plugins/audioconvert/channelmix-ops.c b/spa/plugins/audioconvert/channelmix-ops.c index ddab67870..d506804e9 100644 --- a/spa/plugins/audioconvert/channelmix-ops.c +++ b/spa/plugins/audioconvert/channelmix-ops.c @@ -338,9 +338,11 @@ static int make_matrix(struct channelmix *mix) mix->matrix_orig[ic][jc++] = matrix[i][j]; sum += fabs(matrix[i][j]); } +#if 0 if (sum > 1.0f) for (j = 0; j < jc; j++) mix->matrix_orig[ic][j] /= sum; +#endif ic++; } return 0;