From 99fb0374e9352ebb61e7eea134784bd26f61a892 Mon Sep 17 00:00:00 2001 From: spl3g Date: Fri, 10 Oct 2025 22:19:33 +0300 Subject: Add mouse interactions --- src/sounds.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/sounds.c') diff --git a/src/sounds.c b/src/sounds.c index 0086f4f..9c6711c 100644 --- a/src/sounds.c +++ b/src/sounds.c @@ -188,7 +188,7 @@ void post_process(synth_params *params, float *scratch_buffer, void prepare_output(float *scratch_buffer, short *output_buffer, size_t buffer_size) { for (size_t i = 0; i < buffer_size; i++) { - output_buffer[i] = scratch_buffer[i] * 0.2f * 32767; + output_buffer[i] = scratch_buffer[i] * 32767; } } @@ -218,7 +218,6 @@ void sound_loop_start(snd_pcm_t *pcm, message_queue *queue, case MSG_PARAM_CHANGE: { param_type type = msg.param_change.param_type; float value = msg.param_change.value; - printf("%d %f\n", type, value); set_param(params, type, value); break; } -- cgit v1.2.3