mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
increase parallel_sfx_limit default value to 4
This commit is contained in:
parent
bbff21bb59
commit
375a2084ce
@ -2256,8 +2256,8 @@ default_t defaults[] = {
|
|||||||
{
|
{
|
||||||
"parallel_sfx_limit",
|
"parallel_sfx_limit",
|
||||||
(config_t *) ¶llel_sfx_limit, NULL,
|
(config_t *) ¶llel_sfx_limit, NULL,
|
||||||
{3}, {1, MAX_CHANNELS}, number, ss_none, wad_no,
|
{4}, {1, MAX_CHANNELS}, number, ss_none, wad_no,
|
||||||
"parallel same-sound limit"
|
"parallel same-sound limit (MAX_CHANNELS = disable)"
|
||||||
},
|
},
|
||||||
|
|
||||||
// [FG] music backend
|
// [FG] music backend
|
||||||
|
@ -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
|
// How many instances of the same sfx can be playing concurrently
|
||||||
int parallel_sfx_limit = 3;
|
int parallel_sfx_limit;
|
||||||
|
|
||||||
//
|
//
|
||||||
// S_getChannel :
|
// S_getChannel :
|
||||||
@ -609,11 +609,6 @@ void S_SetMusicVolume(int volume)
|
|||||||
I_Error("Attempt to set music volume at %d\n", volume);
|
I_Error("Attempt to set music volume at %d\n", volume);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// haleyjd: I don't think it should do this in SDL
|
|
||||||
#if 0
|
|
||||||
I_SetMusicVolume(127);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
I_SetMusicVolume(volume);
|
I_SetMusicVolume(volume);
|
||||||
snd_MusicVolume = volume;
|
snd_MusicVolume = volume;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user