pipewire/spa/plugins/bluez5
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
..
a2dp-codec-aac.c spa: add macro to simplify array iterations some more 2022-09-30 16:24:26 +02:00
a2dp-codec-aptx.c bluez5: Rename codec API from *a2dp* to *media* 2022-09-15 11:17:20 +00:00
a2dp-codec-caps.h bluez5: add opus-a2dp-0.5 caps 2022-07-19 13:44:56 +00:00
a2dp-codec-faststream.c bluez5: Rename codec API from *a2dp* to *media* 2022-09-15 11:17:20 +00:00
a2dp-codec-lc3plus.c bluez5: Rename codec API from *a2dp* to *media* 2022-09-15 11:17:20 +00:00
a2dp-codec-ldac.c bluez5: Rename codec API from *a2dp* to *media* 2022-09-15 11:17:20 +00:00
a2dp-codec-opus.c bluez5: Rename codec API from *a2dp* to *media* 2022-09-15 11:17:20 +00:00
a2dp-codec-sbc.c bluez5: Rename codec API from *a2dp* to *media* 2022-09-15 11:17:20 +00:00
backend-hsphfpd.c bluez5: require adapter before profile connect & after 2022-01-20 18:18:09 +00:00
backend-native.c bluez5: backend-native: Add a property to select the modem to use 2022-10-05 19:31:50 +00:00
backend-ofono.c bluez5: backend-ofono: don't do codec probe connections + add wait 2022-03-05 17:46:40 +00:00
bap-codec-caps.h bluez5: in SelectProperties, parse QoS values and pass to get_qos 2022-10-12 07:26:00 +00:00
bap-codec-lc3.c bluez5: in SelectProperties, parse QoS values and pass to get_qos 2022-10-12 07:26:00 +00:00
bluez-hardware.conf bluez5: Disable hw-volume for Soundcore Motion B 2022-08-01 19:34:39 +00:00
bluez5-dbus.c bluez5: in SelectProperties, parse QoS values and pass to get_qos 2022-10-12 07:26:00 +00:00
bluez5-device.c bluez5: fix build_profile index handling 2022-10-12 07:26:00 +00:00
codec-loader.c bluez5: Add LC3 codec support to LE Audio BAP 2022-09-15 11:17:20 +00:00
codec-loader.h bluez5: Rename codec API from *a2dp* to *media* 2022-09-15 11:17:20 +00:00
decode-buffer.h bluez5: avoid (harmless) integer overflow 2022-08-24 16:59:21 +00:00
defs.h bluez5: Manage BAP linked transports 2022-09-15 11:17:20 +00:00
hci.c bluez5: probe adapter msbc capability via hci commands 2022-01-30 22:00:32 +02:00
media-codecs.c bluez5: Rename codec API from *a2dp* to *media* 2022-09-15 11:17:20 +00:00
media-codecs.h bluez5: in SelectProperties, parse QoS values and pass to get_qos 2022-10-12 07:26:00 +00:00
media-sink.c bluez5: media-sink: flush packets at time of first sample 2022-10-18 14:42:14 +00:00
media-source.c bluez5: support and use old api.bluez5.a2dp.* factory names for A2DP 2022-09-15 23:04:37 +03:00
meson.build bluez5: backend-native: Add battery level indicator support 2022-10-05 19:31:50 +00:00
modemmanager.c bluez5: backend-native: Add a property to select the modem to use 2022-10-05 19:31:50 +00:00
modemmanager.h treewide: fix some strict-prototypes Clang warnings/errors 2022-10-12 07:32:47 +00:00
player.c bluez5: free player path 2022-01-03 10:41:00 +01:00
player.h bluez5: add a dummy AVRCP player as a workaround 2021-10-10 16:24:41 +03:00
plugin.c bluez5: support and use old api.bluez5.a2dp.* factory names for A2DP 2022-09-15 23:04:37 +03:00
quirks.c clean up some more array iterations 2022-10-03 09:20:42 +02:00
README-OPUS-A2DP.md bluez5: clarify OPUS-A2DP spec 2022-09-03 19:08:27 +00:00
README-SBC-XQ.md bluez5: add SBC XQ readme 2021-01-07 09:54:16 +01:00
rtp.h Add bluez5 plugins 2018-01-16 15:19:55 +01:00
sco-io.c bluez5: sco-io: we should always read from socket 2022-07-05 14:21:04 +00:00
sco-sink.c bluez5: sco-sink: implement flushing the same way as in a2dp-sink 2022-10-18 14:42:14 +00:00
sco-source.c spa: don't warn for NULL io 2022-09-01 15:31:14 +02:00
upower.c bluez5: backend-native: Add battery level indicator support 2022-10-05 19:31:50 +00:00
upower.h bluez5: backend-native: Add battery level indicator support 2022-10-05 19:31:50 +00:00