mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
set request/rewind sizes only via accessor functions
This commit is contained in:
parent
aa92ff408c
commit
2f9a784167
9 changed files with 52 additions and 17 deletions
|
|
@ -649,7 +649,7 @@ static void update_max_request(struct userdata *u) {
|
|||
if (max_request <= 0)
|
||||
max_request = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec);
|
||||
|
||||
pa_sink_set_max_request(u->sink, max_request);
|
||||
pa_sink_set_max_request_within_thread(u->sink, max_request);
|
||||
}
|
||||
|
||||
/* Called from thread context of the io thread */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue