From 0a7fccdb3d6bf63448d491727316e033ae235b58 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 21 Feb 2010 21:09:26 +0100 Subject: pacat: pass buffer_attr to recording streams too Pointed out by Colin Guthrie. https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006698.html --- src/utils/pacat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/pacat.c b/src/utils/pacat.c index 75ccd9ad..6cbff2e6 100644 --- a/src/utils/pacat.c +++ b/src/utils/pacat.c @@ -473,7 +473,7 @@ static void context_state_callback(pa_context *c, void *userdata) { } } else { - if (pa_stream_connect_record(stream, device, latency > 0 ? &buffer_attr : NULL, flags) < 0) { + if (pa_stream_connect_record(stream, device, &buffer_attr, flags) < 0) { pa_log(_("pa_stream_connect_record() failed: %s"), pa_strerror(pa_context_errno(c))); goto fail; } -- cgit