mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
set fixed latencies at more places where appropriate
This commit is contained in:
parent
80e18c8da3
commit
991cb06134
6 changed files with 16 additions and 9 deletions
|
|
@ -277,6 +277,7 @@ int pa__init(pa_module*m) {
|
|||
|
||||
pa_source_set_asyncmsgq(u->source, u->thread_mq.inq);
|
||||
pa_source_set_rtpoll(u->source, u->rtpoll);
|
||||
u->source->fixed_latency = pa_bytes_to_usec(PIPE_BUF, &u->source->sample_spec);
|
||||
|
||||
u->rtpoll_item = pa_rtpoll_item_new(u->rtpoll, PA_RTPOLL_NEVER, 1);
|
||||
pollfd = pa_rtpoll_item_get_pollfd(u->rtpoll_item, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue