mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
bluez: implement profile on device
Enumerate the available profiles on the device. Make params visible. Implement set_profile, only expose the nodes that belong to the profile.
This commit is contained in:
parent
5f70a2713e
commit
9db240e786
3 changed files with 90 additions and 35 deletions
|
|
@ -109,8 +109,8 @@ extern "C" {
|
|||
|
||||
enum spa_bt_profile {
|
||||
SPA_BT_PROFILE_NULL = 0,
|
||||
SPA_BT_PROFILE_A2DP_SOURCE = (1 << 0),
|
||||
SPA_BT_PROFILE_A2DP_SINK = (1 << 1),
|
||||
SPA_BT_PROFILE_A2DP_SINK = (1 << 0),
|
||||
SPA_BT_PROFILE_A2DP_SOURCE = (1 << 1),
|
||||
SPA_BT_PROFILE_HSP_HS = (1 << 2),
|
||||
SPA_BT_PROFILE_HSP_AG = (1 << 3),
|
||||
SPA_BT_PROFILE_HFP_HF = (1 << 4),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue