mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-18 08:56:45 -05:00
jack: filter formats
filter jack formats in enum_formats Fix some crashes and cleanups
This commit is contained in:
parent
be7a06f9b0
commit
914fe5c2b7
3 changed files with 16 additions and 10 deletions
|
|
@ -447,10 +447,9 @@ static void make_node(struct data *data)
|
|||
{
|
||||
struct pw_properties *props;
|
||||
|
||||
props = pw_properties_new(
|
||||
"pipewire.target.node", data->path,
|
||||
"pipewire.autoconnect", "1",
|
||||
NULL);
|
||||
props = pw_properties_new("pipewire.autoconnect", "1", NULL);
|
||||
if (data->path)
|
||||
pw_properties_set(props, "pipewire.target.node", data->path);
|
||||
|
||||
data->node = pw_node_new(data->core, NULL, NULL, "SDL-sink", props, 0);
|
||||
data->impl_node = impl_node;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue