pipewire/spa/plugins
Pauli Virtanen 9c4aab7508 bluez5: sco-sink: implement flushing the same way as in a2dp-sink
Use separate timers for driving graph and for flushing, since they don't
have the same period.

Flushing is done based on the time positions of the next sample to be
written, so it will stay in sync with the graph.  Because writing too
much data to SCO sockets generally only causes the device to skip ahead,
we don't need to handle the case where the writing has been lagging.

This fixes simultaneous playback to both ALSA and SCO sinks from the
same graph, with SCO as driver, which previously produces broken sound
(e.g. with pw-play --latency 512, linked to the two sinks) ALSA nodes
require regular driver intervals, which was not true previously.
2022-10-18 14:42:14 +00:00
..
aec spa: aec: rename first argument of methods in spa_audio_aec_methods 2022-07-23 08:58:18 +00:00
alsa alsa-pcm: Start playback when there is data 2022-10-17 15:21:49 +02:00
audioconvert audioconvert: only reinit channelmix when params change 2022-10-13 10:31:09 +02:00
audiomixer Fix various compiler warnings 2022-10-06 12:12:35 -04:00
audiotestsrc spa: make default samplerate 48000 2022-09-05 12:21:20 +02:00
avb Fix calls to sendmsg() 2022-09-23 16:33:36 +00:00
bluez5 bluez5: sco-sink: implement flushing the same way as in a2dp-sink 2022-10-18 14:42:14 +00:00
control spa: clean up some port io checks 2022-09-01 15:39:34 +02:00
ffmpeg spa: ffmpeg: set spa_handle_factory::version 2022-06-16 17:29:42 +02:00
jack buffers: make alignment optional 2022-01-03 12:32:26 +01:00
libcamera spa: libcamera: fix hook adding logic 2022-09-15 11:17:47 +00:00
support Fix various compiler warnings 2022-10-06 12:12:35 -04:00
test spa: don't warn for NULL io 2022-09-01 15:31:14 +02:00
v4l2 clean up some more array iterations 2022-10-03 09:20:42 +02:00
videoconvert spa: a Flush command does not stop processing 2022-09-26 11:10:02 +02:00
videotestsrc spa: don't warn for NULL io 2022-09-01 15:31:14 +02:00
volume spa: make default samplerate 48000 2022-09-05 12:21:20 +02:00
vulkan spa: clean up some port io checks 2022-09-01 15:39:34 +02:00
meson.build treewide: meson.build: use host_machine instead of build_machine 2022-08-17 07:34:20 +00:00