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
|
@ -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