mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
pacat: pass buffer_attr to recording streams too
Pointed out by Colin Guthrie. https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006698.html
This commit is contained in:
parent
f9b9579cf4
commit
b2e9fb6f6e
1 changed files with 1 additions and 1 deletions
|
|
@ -473,7 +473,7 @@ static void context_state_callback(pa_context *c, void *userdata) {
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} 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)));
|
pa_log(_("pa_stream_connect_record() failed: %s"), pa_strerror(pa_context_errno(c)));
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue