pipewire/src
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
..
daemon audioconvert: Always apply noise when asked 2022-06-27 11:19:01 +02:00
examples examples: fix modifier handling 2022-06-08 15:13:03 +02:00
gst gst: log warnings if pw_stream_queue_buffer fails 2022-06-24 09:11:42 +00:00
modules raop-sink: fix some compilation errors 2022-07-07 19:56:55 +02:00
pipewire stream: implement prefetch 2022-07-08 10:48:29 +02:00
tests Cleanup argument names in methods and events interfaces 2022-04-15 10:11:49 +02:00
tools dsdfile: support DSD128/256/512 as well 2022-07-06 09:27:38 +02:00
meson.build treewide: meson.build: use feature.allowed() 2022-02-04 00:15:59 +01:00