diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-09-02 18:50:01 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-09-02 18:50:01 +0200 |
commit | b62fa9faf23266db95f3902626e31e53771539b5 (patch) | |
tree | 924b31a499839ab4dcc4d1df3e6b1191430d98ce | |
parent | 5dea4313725575b7f025425befa04686eb17ddb3 (diff) |
channelmix: disable normalize for now
Volume is too low and we don't choose the right functions all the
time. Needs more work.
-rw-r--r-- | spa/plugins/audioconvert/channelmix-ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spa/plugins/audioconvert/channelmix-ops.c b/spa/plugins/audioconvert/channelmix-ops.c index ddab6787..d506804e 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; |