mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-18 10:31:42 +00:00
MP Core Mixer: Unused param fixes (buildbots)
This commit is contained in:
parent
f99b6a89ed
commit
494c5290cf
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…
Reference in a new issue