mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
bluez5: Create backend skeleton for HSP/HFP support using hsphfpd
As hsphfpd is a prototype and its API subject to change, this backend is disable by default. This skeleton connects to hsphfpd daemon and list the managed devices.
This commit is contained in:
parent
3e7609dcaf
commit
7bad76737e
7 changed files with 688 additions and 0 deletions
|
|
@ -333,6 +333,24 @@ static inline void backend_ofono_free(struct spa_bt_backend *backend) {}
|
|||
static inline void backend_ofono_add_filters(struct spa_bt_backend *backend) {}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_BLUEZ_5_BACKEND_HSPHFPD
|
||||
struct spa_bt_backend *backend_hsphfpd_new(struct spa_bt_monitor *monitor,
|
||||
void *dbus_connection,
|
||||
const struct spa_support *support,
|
||||
uint32_t n_support);
|
||||
void backend_hsphfpd_free(struct spa_bt_backend *backend);
|
||||
void backend_hsphfpd_add_filters(struct spa_bt_backend *backend);
|
||||
#else
|
||||
static inline struct spa_bt_backend *backend_hsphfpd_new(struct spa_bt_monitor *monitor,
|
||||
void *dbus_connection,
|
||||
const struct spa_support *support,
|
||||
uint32_t n_support) {
|
||||
return NULL;
|
||||
}
|
||||
static inline void backend_hsphfpd_free(struct spa_bt_backend *backend) {}
|
||||
static inline void backend_hsphfpd_add_filters(struct spa_bt_backend *backend) {}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue