mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
bluez5: make codec loading compatible with old conf files
Change codec factory names to api.codec.bluez5.*, so that they won't conflict with old config file lib name rules for api.bluez5.* Specify the fallback library name when loading the codecs, so that it works without the rules in config files.
This commit is contained in:
parent
435de99428
commit
b5ad37c7ac
5 changed files with 29 additions and 23 deletions
|
|
@ -50,7 +50,7 @@ struct spa_bluez5_codec_a2dp {
|
|||
const struct a2dp_codec * const *codecs; /**< NULL terminated array */
|
||||
};
|
||||
|
||||
#define A2DP_CODEC_FACTORY_NAME(basename) (SPA_NAME_API_BLUEZ5_CODEC_A2DP "." basename)
|
||||
#define A2DP_CODEC_FACTORY_NAME(basename) (SPA_NAME_API_CODEC_BLUEZ5_A2DP "." basename)
|
||||
|
||||
#ifdef CODEC_PLUGIN
|
||||
#define A2DP_CODEC_EXPORT_DEF(basename,...) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue