ts/udpsink: handle items in the PadSinkHandler

... instead of forwarding them to a Task via a channel.

This improves CPU usage by 5% according to `udpsrc-benchmark-sender`
with the `tuning` feature using default audio test buffers and
400 streams on the same ts-context.

It is expected to improve latency significantly. This is inferred
from `ts-standalone`: latency shrinks from around 5ms to 1.5µs
using the `task` sink compared to the `async-mutex` sink.

The async Mutex is mandatory here as we need to hold the lock
across await points.
This commit is contained in:
François Laignel 2022-11-04 14:11:44 +01:00 committed by Sebastian Dröge
parent 29a490f6dc
commit e1afa43aa3

File diff suppressed because it is too large Load diff