mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-11 13:21:03 +00:00
Replace PI with standard M_PI.
This commit is contained in:
parent
94b752f433
commit
be8acf4e27
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue