aboutsummaryrefslogtreecommitdiff
path: root/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound.c')
-rw-r--r--sound.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound.c b/sound.c
index 611bca9..798e8c2 100644
--- a/sound.c
+++ b/sound.c
@@ -86,8 +86,7 @@ void sound_mix(unsigned char* stream, int len) {
for (i = 0; i < len; i++) {
/* stream[i] = sys.t % 50;*/
- stream[i] = 0;
- stream[i] = f(sys.t) / 2;
+ stream[i] = f(sys.t) / 5;
for (j = sys.beep_count - 1; j >= 0; j--) {
beep = &sys.beeps[j];
stream[i] |= (sys.t % beep->pitch) * 5;