mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-30 06:46:49 -04: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
|
|
@ -50,7 +50,7 @@ struct stream {
|
|||
|
||||
struct pw_stream *stream;
|
||||
struct spa_hook stream_listener;
|
||||
struct spa_source *timer;
|
||||
struct pw_timer timer;
|
||||
|
||||
struct spa_io_position *position;
|
||||
struct spa_ringbuffer ring;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue