mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-29 05:41:02 +00:00
Volume fixes
# Conflicts: # src/sdl/mixer_sound.c (cherry picked from commit d39b7011c5b12e5b7abe3e493971e003469a1f3d)
This commit is contained in:
parent
2fbe206ecb
commit
5f22b7d973
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…
Reference in a new issue