mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-24 18:21:17 +00:00
Some small change
Really this is just to prevent the music end up being disorted at max volume
This commit is contained in:
parent
0b6d6c3363
commit
0248fcecd4
1 changed files with 2 additions and 1 deletions
|
@ -458,7 +458,8 @@ static void mix_gme(void *udata, Uint8 *stream, int len)
|
|||
|
||||
// apply volume to stream
|
||||
for (i = 0, p = (short *)stream; i < len/2; i++, p++)
|
||||
*p = ((INT32)*p) * music_volume*2/31;
|
||||
*p = ((INT32)*p) * music_volume*2 / 42;
|
||||
CONS_Printf("%hs", p);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue