mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-18 08:56:45 -05:00
adapter: move to SPA plugin
Move the adapter code to a SPA plugin and make the adapter module use the plugin instead.
This commit is contained in:
parent
7f885b6db4
commit
9364f64b10
5 changed files with 1075 additions and 1285 deletions
|
|
@ -32,6 +32,7 @@ extern const struct spa_handle_factory spa_channelmix_factory;
|
|||
extern const struct spa_handle_factory spa_resample_factory;
|
||||
extern const struct spa_handle_factory spa_splitter_factory;
|
||||
extern const struct spa_handle_factory spa_merger_factory;
|
||||
extern const struct spa_handle_factory spa_audioadapter_factory;
|
||||
|
||||
SPA_EXPORT
|
||||
int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
|
||||
|
|
@ -58,6 +59,9 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
|
|||
case 5:
|
||||
*factory = &spa_merger_factory;
|
||||
break;
|
||||
case 6:
|
||||
*factory = &spa_audioadapter_factory;
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue