From 33393f336c3482e4a7a292c0fbdfa4b4ce333943 Mon Sep 17 00:00:00 2001 From: Radek Polak Date: Tue, 21 Feb 2012 16:53:39 +0100 Subject: [PATCH] volume up just twice - 4x generates echo --- gsm-voice-routing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsm-voice-routing.c b/gsm-voice-routing.c index e8b0aca..13ef194 100644 --- a/gsm-voice-routing.c +++ b/gsm-voice-routing.c @@ -347,7 +347,7 @@ static void vol_up(char *buf, snd_pcm_uframes_t period_size) int i; s16 *val = (s16 *) (buf); for(i = 0; i < period_size; i++) { - *val = *val * 4; + *val = *val * 2; val++; } } -- 2.39.5