increase parallel_sfx_limit default value to 4

This commit is contained in:
Fabian Greffrath 2022-11-20 14:15:34 +01:00
parent bbff21bb59
commit 375a2084ce
2 changed files with 3 additions and 8 deletions

View File

@ -2256,8 +2256,8 @@ default_t defaults[] = {
{
"parallel_sfx_limit",
(config_t *) &parallel_sfx_limit, NULL,
{3}, {1, MAX_CHANNELS}, number, ss_none, wad_no,
"parallel same-sound limit"
{4}, {1, MAX_CHANNELS}, number, ss_none, wad_no,
"parallel same-sound limit (MAX_CHANNELS = disable)"
},
// [FG] music backend

View File

@ -250,7 +250,7 @@ static int S_CompareChannels(const void *arg_a, const void *arg_b)
}
// How many instances of the same sfx can be playing concurrently
int parallel_sfx_limit = 3;
int parallel_sfx_limit;
//
// S_getChannel :
@ -609,11 +609,6 @@ void S_SetMusicVolume(int volume)
I_Error("Attempt to set music volume at %d\n", volume);
#endif
// haleyjd: I don't think it should do this in SDL
#if 0
I_SetMusicVolume(127);
#endif
I_SetMusicVolume(volume);
snd_MusicVolume = volume;
}