From 4e25ae607bec35930d85e88842ac81b0ea97290a Mon Sep 17 00:00:00 2001 From: Radek Polak Date: Fri, 9 Mar 2012 15:19:51 +0100 Subject: [PATCH] Walkie talkie - volume to 0 to completely remove 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 bfddddd..1258953 100644 --- a/gsm-voice-routing.c +++ b/gsm-voice-routing.c @@ -407,7 +407,7 @@ static void vol_down(char *buf, snd_pcm_uframes_t period_size) int i; s16 *val = (s16 *) (buf); for (i = 0; i < period_size; i++) { - *val = *val / 2; + *val = 0; // *val / 2; val++; } } -- 2.39.5