mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 19:21:06 +00:00
Fix warning.
This commit is contained in:
parent
a2fe0330eb
commit
449b08e9d5
@ -35,7 +35,7 @@ void resampler_preinit(ssnes_resampler_t *re, double omega, double *samples_offs
|
|||||||
*samples_offset = 2.0;
|
*samples_offset = 2.0;
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
{
|
{
|
||||||
re->chan_data[0][i] = cos((i - 2) * omega);
|
re->chan_data[0][i] = (float)cos((i - 2) * omega);
|
||||||
re->chan_data[1][i] = re->chan_data[0][i];
|
re->chan_data[1][i] = re->chan_data[0][i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user