channelmix: disable normalize for now

Volume is too low and we don't choose the right functions all the
time. Needs more work.
This commit is contained in:
Wim Taymans 2020-09-02 18:50:01 +02:00
parent 5dea431372
commit b62fa9faf2

View file

@ -338,9 +338,11 @@ static int make_matrix(struct channelmix *mix)
mix->matrix_orig[ic][jc++] = matrix[i][j]; mix->matrix_orig[ic][jc++] = matrix[i][j];
sum += fabs(matrix[i][j]); sum += fabs(matrix[i][j]);
} }
#if 0
if (sum > 1.0f) if (sum > 1.0f)
for (j = 0; j < jc; j++) for (j = 0; j < jc; j++)
mix->matrix_orig[ic][j] /= sum; mix->matrix_orig[ic][j] /= sum;
#endif
ic++; ic++;
} }
return 0; return 0;