mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-09 10:06:25 -05:00
pulse-server: use the new timer-queue for timeouts
Use the timer queue for scheduling stream and object data timeouts. This avoids allocating timerfds for these timeouts and the timer queue can handle many timeouts more efficiently.
This commit is contained in:
parent
38cb14d39d
commit
ca713c08ee
5 changed files with 14 additions and 32 deletions
|
|
@ -5524,6 +5524,7 @@ struct pw_protocol_pulse *pw_protocol_pulse_new(struct pw_context *context,
|
|||
|
||||
impl->main_loop = pw_context_get_main_loop(context);
|
||||
impl->work_queue = pw_context_get_work_queue(context);
|
||||
impl->timer_queue = pw_context_get_timer_queue(context);
|
||||
|
||||
if (props == NULL)
|
||||
props = pw_properties_new(NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue