bluez5: split A2DP codecs to separate SPA plugins

Make easier to package A2DP codecs separately, by splitting each to a
separate SPA plugin.  Adjust the code to not use a global variable for
the codec list.

The A2DP SPA interface API is in the bluez5 private headers, and not
exposed in installed SPA headers, as it's too close to the
implementation.
This commit is contained in:
Pauli Virtanen 2021-09-01 00:33:43 +03:00
parent 3115775c02
commit 59d572de09
15 changed files with 911 additions and 469 deletions

View file

@ -16,6 +16,11 @@ context.properties = {
context.spa-libs = {
# Mapping from factory name to library.
api.bluez5.codec.a2dp.aac = bluez5/libspa-bluez5-codec-aac
api.bluez5.codec.a2dp.aptx = bluez5/libspa-bluez5-codec-aptx
api.bluez5.codec.a2dp.faststream = bluez5/libspa-bluez5-codec-faststream
api.bluez5.codec.a2dp.ldac = bluez5/libspa-bluez5-codec-ldac
api.bluez5.codec.a2dp.sbc = bluez5/libspa-bluez5-codec-sbc
api.bluez5.* = bluez5/libspa-bluez5
api.alsa.* = alsa/libspa-alsa
api.v4l2.* = v4l2/libspa-v4l2