mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
bluez5: backend-hsphfpd: Add mSBC support
mSBC can be enabled by passing "bluez5.msbc-support=true" parameter to pipewire-media-session. mSBC is automatically selected if remote device supports it.
This commit is contained in:
parent
7d28b51713
commit
6308c5d806
4 changed files with 110 additions and 23 deletions
|
|
@ -447,7 +447,7 @@ int sm_bluez5_monitor_start(struct sm_media_session *session)
|
|||
void *iface;
|
||||
struct impl *impl;
|
||||
|
||||
handle = pw_context_load_spa_handle(context, SPA_NAME_API_BLUEZ5_ENUM_DBUS, NULL);
|
||||
handle = pw_context_load_spa_handle(context, SPA_NAME_API_BLUEZ5_ENUM_DBUS, &session->props->dict);
|
||||
if (handle == NULL) {
|
||||
res = -errno;
|
||||
pw_log_error("can't load %s: %m", SPA_NAME_API_BLUEZ5_ENUM_DBUS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue