From 9003216a1686fd92aa188e6baed58cdd4af63c11 Mon Sep 17 00:00:00 2001 From: twobit Date: Mon, 6 Aug 2012 03:47:48 +0200 Subject: [PATCH] make it quieter --- synth/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synth/main.c b/synth/main.c index 2e0c27c..e699ac0 100644 --- a/synth/main.c +++ b/synth/main.c @@ -7,7 +7,7 @@ static void fill_buffer(void* userdata, Uint8* stream, int len) { - for(int i = 0; i < len / 2; i++) ((uint16_t*)stream)[i] = synth_mix() * 100; + for(int i = 0; i < len / 2; i++) ((uint16_t*)stream)[i] = synth_mix() * 50; } SDL_AudioSpec spec = { 8000000 / (3 * 64), AUDIO_U16SYS, 1, 0, 1024, };