diff options
| author | Lennart Poettering <lennart@poettering.net> | 2010-02-21 21:09:26 +0100 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2010-02-21 21:13:02 +0100 | 
| commit | b2e9fb6f6e12a3eab8a41c67017507e60d616e2a (patch) | |
| tree | c0a74788d119dc79f18172d6e212485a60dc1bc1 | |
| parent | f9b9579cf4fe65d3619629b5bc28ce02ceca305e (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.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/utils/pacat.c b/src/utils/pacat.c index d136f6b3..394cfbf1 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;                  } | 
