mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05: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
|
|
@ -1388,7 +1388,7 @@ int pa__init(pa_module*m) {
|
|||
pa_sink_set_rtpoll(u->sink, u->rtpoll);
|
||||
u->sink->refresh_volume = TRUE;
|
||||
|
||||
u->sink->thread_info.max_request = u->out_hwbuf_size;
|
||||
pa_sink_set_max_request(u->sink, u->out_hwbuf_size);
|
||||
|
||||
if (use_mmap)
|
||||
u->out_mmap_memblocks = pa_xnew0(pa_memblock*, u->out_nfrags);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue