mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez5: support and use old api.bluez5.a2dp.* factory names for A2DP
For backward compatibility with old Wireplumber releases, support the old api.bluez5.a2dp.sink/source names, and use them in object events instead of the media.sink/source names.
This commit is contained in:
parent
101287159e
commit
8de03f5c29
5 changed files with 36 additions and 6 deletions
|
|
@ -1651,3 +1651,13 @@ const struct spa_handle_factory spa_media_source_factory = {
|
|||
impl_init,
|
||||
impl_enum_interface_info,
|
||||
};
|
||||
|
||||
/* Retained for backward compatibility */
|
||||
const struct spa_handle_factory spa_a2dp_source_factory = {
|
||||
SPA_VERSION_HANDLE_FACTORY,
|
||||
SPA_NAME_API_BLUEZ5_A2DP_SOURCE,
|
||||
&info,
|
||||
impl_get_size,
|
||||
impl_init,
|
||||
impl_enum_interface_info,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue