mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
work on separating port mixers
Make it possible to assign an arbitary node as the port mixer. Also remove dynamically added ports. Improve negotiation and allocation on the mixer ports Add some more SSE optimisations Move float mixer from the audio dsp to the port Remove pw_node_get_free_port() and do things more explicitly. Handle mixer ports in client-node
This commit is contained in:
parent
f55cb422cb
commit
ca898a00db
29 changed files with 2422 additions and 1504 deletions
|
|
@ -55,12 +55,12 @@ struct impl {
|
|||
void *user_data;
|
||||
};
|
||||
|
||||
static void pw_spa_node_destroy(void *data)
|
||||
static void pw_spa_node_free(void *data)
|
||||
{
|
||||
struct impl *impl = data;
|
||||
struct pw_node *node = impl->this;
|
||||
|
||||
pw_log_debug("spa-node %p: destroy", node);
|
||||
pw_log_debug("spa-node %p: free", node);
|
||||
|
||||
spa_hook_remove(&impl->node_listener);
|
||||
if (impl->handle) {
|
||||
|
|
@ -103,7 +103,7 @@ static void on_node_done(void *data, uint32_t seq, int res)
|
|||
|
||||
static const struct pw_node_events node_events = {
|
||||
PW_VERSION_NODE_EVENTS,
|
||||
.destroy = pw_spa_node_destroy,
|
||||
.free = pw_spa_node_free,
|
||||
.async_complete = on_node_done,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue