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:
Wim Taymans 2025-09-18 13:55:43 +02:00
parent 38cb14d39d
commit ca713c08ee
5 changed files with 14 additions and 32 deletions

View file

@ -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;