mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
channelmix: implement per channel volume
Implement per channel volume on channelmix. Extend control on stream to take an array of values when possible. Remove name argument from pw_node_new and pw_device_new. We can pass this as a property instead. Improve properties on nodes to more closely match what pulseaudio does. Don't let the monitor do too much with the udev properties but let the session manager set the description and icon-names. Remove some change_mask flags for things that don't change in introspect. Use the flags to mark changes in -cli and -monitor.
This commit is contained in:
parent
1c27f48992
commit
c6a7b3eedb
45 changed files with 737 additions and 367 deletions
|
|
@ -322,7 +322,7 @@ struct pw_node *pw_adapter_new(struct pw_core *core,
|
|||
{
|
||||
struct pw_node *node;
|
||||
struct node *n;
|
||||
const char *name, *str, *factory_name;
|
||||
const char *str, *factory_name;
|
||||
const struct pw_node_info *info;
|
||||
enum pw_direction direction;
|
||||
int res;
|
||||
|
|
@ -349,9 +349,6 @@ struct pw_node *pw_adapter_new(struct pw_core *core,
|
|||
goto error;
|
||||
}
|
||||
|
||||
if ((name = pw_properties_get(props, PW_KEY_NODE_NAME)) == NULL)
|
||||
name = NAME;
|
||||
|
||||
if ((str = pw_properties_get(props, PW_KEY_NODE_ID)) != NULL)
|
||||
pw_properties_set(props, PW_KEY_NODE_SESSION, str);
|
||||
|
||||
|
|
@ -389,7 +386,6 @@ struct pw_node *pw_adapter_new(struct pw_core *core,
|
|||
|
||||
node = pw_spa_node_load(core, NULL, NULL,
|
||||
factory_name,
|
||||
name,
|
||||
PW_SPA_NODE_FLAG_ACTIVATE | PW_SPA_NODE_FLAG_NO_REGISTER,
|
||||
pw_properties_copy(props),
|
||||
sizeof(struct node) + user_data_size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue