shithub: riscv

Download patch

ref: 8c20c6ec1933054386dd712158d2452da15d6ec7
parent: 548f7f971f5938c1b54481e0542d5b19e0fe37de
author: qwx <[email protected]>
date: Wed Aug 9 14:45:58 EDT 2023

games/doom: bump max number of simultaneous sound effects

too many things mute each other constantly, not much drawbacks

--- a/sys/src/games/doom/i_sound.c
+++ b/sys/src/games/doom/i_sound.c
@@ -16,7 +16,7 @@
 #define	AUDFREQ		44100
 #define	SFXFREQ		11025
 #define	SAMPLECOUNT	(AUDFREQ/TICRATE)
-#define	NUM_CHANNELS	8
+#define	NUM_CHANNELS	32
 
 /* The actual lengths of all sound effects. */
 int	lengths[NUMSFX];