Consistently use double in the mixer

This fixes a warning: INT32_MAX cannot be represented as a float.
This commit is contained in:
Paul Adenot 2023-11-10 15:27:32 +01:00
parent 28eed05dd5
commit 47f9a4733b

View file

@ -183,7 +183,7 @@ MixerContext::auto_matrix()
{
double matrix[NUM_NAMED_CHANNELS][NUM_NAMED_CHANNELS] = {{0}};
double maxcoef = 0;
float maxval;
double maxval;
cubeb_channel_layout in_ch_layout = clean_layout(_in_ch_layout);
cubeb_channel_layout out_ch_layout = clean_layout(_out_ch_layout);