mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-18 06:46:28 -04:00
filter-graph: allow negative Gain in mixer
To allow for polarity changes. Fixes #5228
This commit is contained in:
parent
d9b6153123
commit
db0fa4b419
1 changed files with 8 additions and 8 deletions
|
|
@ -201,42 +201,42 @@ static struct spa_fga_port mixer_ports[] = {
|
||||||
{ .index = 9,
|
{ .index = 9,
|
||||||
.name = "Gain 1",
|
.name = "Gain 1",
|
||||||
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
||||||
.def = 1.0f, .min = 0.0f, .max = 10.0f
|
.def = 1.0f, .min = -10.0f, .max = 10.0f
|
||||||
},
|
},
|
||||||
{ .index = 10,
|
{ .index = 10,
|
||||||
.name = "Gain 2",
|
.name = "Gain 2",
|
||||||
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
||||||
.def = 1.0f, .min = 0.0f, .max = 10.0f
|
.def = 1.0f, .min = -10.0f, .max = 10.0f
|
||||||
},
|
},
|
||||||
{ .index = 11,
|
{ .index = 11,
|
||||||
.name = "Gain 3",
|
.name = "Gain 3",
|
||||||
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
||||||
.def = 1.0f, .min = 0.0f, .max = 10.0f
|
.def = 1.0f, .min = -10.0f, .max = 10.0f
|
||||||
},
|
},
|
||||||
{ .index = 12,
|
{ .index = 12,
|
||||||
.name = "Gain 4",
|
.name = "Gain 4",
|
||||||
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
||||||
.def = 1.0f, .min = 0.0f, .max = 10.0f
|
.def = 1.0f, .min = -10.0f, .max = 10.0f
|
||||||
},
|
},
|
||||||
{ .index = 13,
|
{ .index = 13,
|
||||||
.name = "Gain 5",
|
.name = "Gain 5",
|
||||||
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
||||||
.def = 1.0f, .min = 0.0f, .max = 10.0f
|
.def = 1.0f, .min = -10.0f, .max = 10.0f
|
||||||
},
|
},
|
||||||
{ .index = 14,
|
{ .index = 14,
|
||||||
.name = "Gain 6",
|
.name = "Gain 6",
|
||||||
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
||||||
.def = 1.0f, .min = 0.0f, .max = 10.0f
|
.def = 1.0f, .min = -10.0f, .max = 10.0f
|
||||||
},
|
},
|
||||||
{ .index = 15,
|
{ .index = 15,
|
||||||
.name = "Gain 7",
|
.name = "Gain 7",
|
||||||
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
||||||
.def = 1.0f, .min = 0.0f, .max = 10.0f
|
.def = 1.0f, .min = -10.0f, .max = 10.0f
|
||||||
},
|
},
|
||||||
{ .index = 16,
|
{ .index = 16,
|
||||||
.name = "Gain 8",
|
.name = "Gain 8",
|
||||||
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
||||||
.def = 1.0f, .min = 0.0f, .max = 10.0f
|
.def = 1.0f, .min = -10.0f, .max = 10.0f
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue