bluez5: Added mSBC support in bluze5 backend native, including check to make sure the computer's bluetooth adapter

supports the transport modes required for mSBC
This commit is contained in:
Sebastian Apel 2021-01-13 10:24:55 +01:00 committed by Wim Taymans
parent 8aec26f5bd
commit 8ac5a89583
3 changed files with 167 additions and 8 deletions

View file

@ -463,6 +463,7 @@ static inline enum spa_bt_transport_state spa_bt_transport_state_from_string(con
#ifdef HAVE_BLUEZ_5_BACKEND_NATIVE
struct spa_bt_backend *backend_native_new(struct spa_bt_monitor *monitor,
void *dbus_connection,
const struct spa_dict *info,
const struct spa_support *support,
uint32_t n_support);
void backend_native_free(struct spa_bt_backend *backend);
@ -470,6 +471,7 @@ void backend_native_register_profiles(struct spa_bt_backend *backend);
#else
static inline struct spa_bt_backend *backend_native_new(struct spa_bt_monitor *monitor,
void *dbus_connection,
const struct spa_dict *info,
const struct spa_support *support,
uint32_t n_support) {
return NULL;