mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez5: Rename codec API from *a2dp* to *media*
The BlueZ Media1 interface will not only be used for A2DP but also for LE Audio and code related can be shared.
This commit is contained in:
parent
64a3edf89e
commit
00d51c3d31
20 changed files with 485 additions and 485 deletions
|
|
@ -29,8 +29,8 @@
|
|||
|
||||
extern const struct spa_handle_factory spa_bluez5_dbus_factory;
|
||||
extern const struct spa_handle_factory spa_bluez5_device_factory;
|
||||
extern const struct spa_handle_factory spa_a2dp_sink_factory;
|
||||
extern const struct spa_handle_factory spa_a2dp_source_factory;
|
||||
extern const struct spa_handle_factory spa_media_sink_factory;
|
||||
extern const struct spa_handle_factory spa_media_source_factory;
|
||||
extern const struct spa_handle_factory spa_sco_sink_factory;
|
||||
extern const struct spa_handle_factory spa_sco_source_factory;
|
||||
|
||||
|
|
@ -48,10 +48,10 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
|
|||
*factory = &spa_bluez5_device_factory;
|
||||
break;
|
||||
case 2:
|
||||
*factory = &spa_a2dp_sink_factory;
|
||||
*factory = &spa_media_sink_factory;
|
||||
break;
|
||||
case 3:
|
||||
*factory = &spa_a2dp_source_factory;
|
||||
*factory = &spa_media_source_factory;
|
||||
break;
|
||||
case 4:
|
||||
*factory = &spa_sco_sink_factory;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue