mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
pulse: even in case of record stream, let's initialize req_bytes to 0
This commit is contained in:
parent
3ecb80e19a
commit
d8a90a3900
1 changed files with 1 additions and 1 deletions
|
|
@ -867,7 +867,7 @@ static void automatic_buffer_attr(pa_stream *s, pa_buffer_attr *attr, const pa_s
|
|||
|
||||
void pa_create_stream_callback(pa_pdispatch *pd, uint32_t command, uint32_t tag, pa_tagstruct *t, void *userdata) {
|
||||
pa_stream *s = userdata;
|
||||
uint32_t requested_bytes;
|
||||
uint32_t requested_bytes = 0;
|
||||
|
||||
pa_assert(pd);
|
||||
pa_assert(s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue