mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
MP Core Mixer: Unused param fixes (buildbots)
This commit is contained in:
parent
ec61164765
commit
fae377b896
1 changed files with 6 additions and 0 deletions
|
|
@ -519,6 +519,10 @@ static void do_fading_callback()
|
||||||
|
|
||||||
static void count_music_bytes(int chan, void *stream, int len, void *udata)
|
static void count_music_bytes(int chan, void *stream, int len, void *udata)
|
||||||
{
|
{
|
||||||
|
(void)chan;
|
||||||
|
(void)stream;
|
||||||
|
(void)udata;
|
||||||
|
|
||||||
if (!music || I_SongType() == MU_GME || I_SongType() == MU_MOD || I_SongType() == MU_MID)
|
if (!music || I_SongType() == MU_GME || I_SongType() == MU_MOD || I_SongType() == MU_MID)
|
||||||
return;
|
return;
|
||||||
music_bytes += len;
|
music_bytes += len;
|
||||||
|
|
@ -538,6 +542,8 @@ static void music_loop(void)
|
||||||
|
|
||||||
static UINT32 music_fade(UINT32 interval, void *param)
|
static UINT32 music_fade(UINT32 interval, void *param)
|
||||||
{
|
{
|
||||||
|
(void)param;
|
||||||
|
|
||||||
if (!is_fading ||
|
if (!is_fading ||
|
||||||
internal_volume == fading_target ||
|
internal_volume == fading_target ||
|
||||||
fading_duration == 0)
|
fading_duration == 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue