pipewire/spa
Wim Taymans e53eefef0d stream: implement prefetch
When the audioconverter needs more data, let it return NEED_DATA. This
can happen before the ports actually have consumed all the input data.
For example, then the next cycle would require 1024 samples but there
are currently only 16 samples queued, the next cycle will consume the
16 samples and then need another buffer to produce output.

For rt streams, this is not a problem because a new buffer will be
fetched in the next cycle synchronously.

When the stream is async, we can use this NEED_DATA to prefetch a
new buffer so that we have one in the next cycle.

This fixes hickups with async streams that provide random sized
buffers.
2022-07-08 10:48:29 +02:00
..
examples examples: fix spelling mistake 2022-06-16 16:40:47 +02:00
include buffer: add EMPTY chunk flag 2022-06-24 11:09:01 +02:00
plugins stream: implement prefetch 2022-07-08 10:48:29 +02:00
tests Add support for MidnightBSD 2022-06-19 18:22:47 +00:00
tools spa: tools: spa-inspect: clear and free handles 2022-06-16 16:59:40 +02:00
meson.build bluez5: use lc3plus.h instead of lc3.h 2022-05-03 00:29:47 +03:00