Replace PI with standard M_PI.

This commit is contained in:
carlo-bramini 2017-10-21 13:15:57 +02:00
parent 94b752f433
commit be8acf4e27

View file

@ -92,7 +92,7 @@ fluid_conversion_config(void)
} }
/* initialize the pan conversion table */ /* initialize the pan conversion table */
x = PI / 2.0 / (FLUID_PAN_SIZE - 1.0); x = M_PI / 2.0 / (FLUID_PAN_SIZE - 1.0);
for (i = 0; i < FLUID_PAN_SIZE; i++) { for (i = 0; i < FLUID_PAN_SIZE; i++) {
fluid_pan_tab[i] = (fluid_real_t) sin(i * x); fluid_pan_tab[i] = (fluid_real_t) sin(i * x);
} }