mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 02:41:49 +00:00
Volume fixes
# Conflicts: # src/sdl/mixer_sound.c (cherry picked from commit d39b7011c5b12e5b7abe3e493971e003469a1f3d)
This commit is contained in:
parent
900fdbee99
commit
245bc9a66f
2 changed files with 5 additions and 3 deletions
|
|
@ -1465,11 +1465,13 @@ void S_SetMusicVolume(INT32 digvolume, INT32 seqvolume)
|
||||||
switch(I_SongType())
|
switch(I_SongType())
|
||||||
{
|
{
|
||||||
case MU_MID:
|
case MU_MID:
|
||||||
case MU_MOD:
|
//case MU_MOD:
|
||||||
case MU_GME:
|
//case MU_GME:
|
||||||
I_SetMusicVolume(seqvolume&31);
|
I_SetMusicVolume(seqvolume&31);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
I_SetMusicVolume(digvolume&31);
|
I_SetMusicVolume(digvolume&31);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -769,7 +769,7 @@ void I_ResumeSong(void)
|
||||||
|
|
||||||
void I_SetMusicVolume(UINT8 volume)
|
void I_SetMusicVolume(UINT8 volume)
|
||||||
{
|
{
|
||||||
if (!music)
|
if (!I_SongPlaying())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue