adapter: pass spa_node to adapter

Make it possible to pass a spa_node as the follower of the adapter. This
avoids us having to wrap it in a pw_impl_node in order to unwrap it
again for the adapter spa_node.
This commit is contained in:
Wim Taymans 2022-05-11 12:28:26 +02:00
parent 9d186cf622
commit daf53b94ed
4 changed files with 108 additions and 45 deletions

View file

@ -35,7 +35,7 @@ extern "C" {
struct pw_impl_node *
pw_adapter_new(struct pw_context *context,
struct pw_impl_node *follower,
struct spa_node *follower,
struct pw_properties *properties,
size_t user_data_size);