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
|
|
@ -29,6 +29,7 @@
|
|||
#include <stddef.h>
|
||||
|
||||
#include <spa/param/audio/format.h>
|
||||
#include <spa/param/bluetooth/audio.h>
|
||||
#include <spa/pod/pod.h>
|
||||
#include <spa/pod/builder.h>
|
||||
|
||||
|
|
@ -325,6 +326,7 @@ static inline int a2dp_sbc_get_frequency(a2dp_sbc_t *config)
|
|||
struct a2dp_codec_handle;
|
||||
|
||||
struct a2dp_codec {
|
||||
enum spa_bluetooth_audio_codec id;
|
||||
uint8_t codec_id;
|
||||
a2dp_vendor_codec_t vendor;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue