mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
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:
parent
5dea431372
commit
b62fa9faf2
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue