From 14747b1e753fccb3f494b1bca33ffd9531d4d3c6 Mon Sep 17 00:00:00 2001 From: Jarcode Date: Sun, 30 Sep 2018 14:49:44 -0700 Subject: [PATCH] Use default PulseAudio buffer sizes when reading input from server, see #63 --- pulse_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulse_input.c b/pulse_input.c index dacf98f..4d90c8e 100644 --- a/pulse_input.c +++ b/pulse_input.c @@ -123,7 +123,7 @@ void* input_pulse(void* data) { .channels = 2 }; const pa_buffer_attr pb = { - .maxlength = ssz * 2, + .maxlength = (uint32_t) -1, .fragsize = ssz };