mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04: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
342e06498f
commit
0a7fccdb3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue