audiolatency: Handle audio buffers with invalid duration
pipewiresrc outputs audio buffers without a valid duration, so we need to calculate it manually in that case.
Upstream issue: pipewire/pipewire#1438 (closed)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
pipewiresrc outputs audio buffers without a valid duration, so we need to calculate it manually in that case.
Upstream issue: pipewire/pipewire#1438 (closed)