mirror of
https://github.com/mozilla/cubeb
synced 2024-11-21 14:29:11 -07:00
Consistently use double in the mixer
This fixes a warning: INT32_MAX cannot be represented as a float.
This commit is contained in:
parent
28eed05dd5
commit
47f9a4733b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue