mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
bluez5: add bluetoothAudioCodec property to device
Also make the "codecless" profiles to automatically switch to the codec profiles.
This commit is contained in:
parent
6b0cf799c4
commit
a552655edc
6 changed files with 292 additions and 133 deletions
|
|
@ -340,6 +340,7 @@ static int codec_decode(void *data,
|
|||
}
|
||||
|
||||
const struct a2dp_codec a2dp_codec_aptx = {
|
||||
.id = SPA_BLUETOOTH_AUDIO_CODEC_APTX,
|
||||
.codec_id = A2DP_CODEC_VENDOR,
|
||||
.vendor = { .vendor_id = APTX_VENDOR_ID,
|
||||
.codec_id = APTX_CODEC_ID },
|
||||
|
|
@ -363,6 +364,7 @@ const struct a2dp_codec a2dp_codec_aptx = {
|
|||
|
||||
|
||||
const struct a2dp_codec a2dp_codec_aptx_hd = {
|
||||
.id = SPA_BLUETOOTH_AUDIO_CODEC_APTX_HD,
|
||||
.codec_id = A2DP_CODEC_VENDOR,
|
||||
.vendor = { .vendor_id = APTX_HD_VENDOR_ID,
|
||||
.codec_id = APTX_HD_CODEC_ID },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue