mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
mixing_macros.c: Fix integer division
Use literal `0.5` instead of integer division.
This commit is contained in:
parent
f1483e22bb
commit
fd21af445a
@ -475,7 +475,7 @@ void mixing_macro_downmix(VGMSTREAM* vgmstream, int max /*, mapping_t output_map
|
||||
channel_mapping_t input_mapping, output_mapping;
|
||||
const double vol_max = 1.0;
|
||||
const double vol_sqrt = 1 / sqrt(2);
|
||||
const double vol_half = 1 / 2;
|
||||
const double vol_half = 0.5;
|
||||
double matrix[16][16] = {{0}};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user