From e2aef35c87019d5911f3eb3f6d91421d6131f82e Mon Sep 17 00:00:00 2001 From: Karl Stavestrand Date: Thu, 28 May 2020 22:05:27 +0200 Subject: [PATCH] change portaudio sample silence to -32767, because its a signed int, so this should be correct. --- input/portaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/portaudio.c b/input/portaudio.c index 607208a..21ad188 100644 --- a/input/portaudio.c +++ b/input/portaudio.c @@ -4,7 +4,7 @@ #include #define PORTBUFSIZE 512 -#define SAMPLE_SILENCE 32768 +#define SAMPLE_SILENCE -32767 #define PA_SAMPLE_TYPE paInt16 typedef short SAMPLE;