summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-21 21:09:26 +0100
committerWim Taymans <wtaymans@redhat.com>2014-04-02 14:38:32 +0200
commit8377a74e4a271fc03da7069ea3db45473b61d61a (patch)
treec0a74788d119dc79f18172d6e212485a60dc1bc1
parentb8be138a1fe018f3536bd9ee48b41f4d5d441d40 (diff)
pacat: pass buffer_attr to recording streams too
Pointed out by Colin Guthrie. https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006698.html
-rw-r--r--src/utils/pacat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/pacat.c b/src/utils/pacat.c
index d136f6b30..394cfbf1b 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;
}