mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-26 07:58:03 -04:00
Merge branch 'ramp' into 'master'
filter-graph: set min, max and def values for ramp See merge request pipewire/pipewire!2746
This commit is contained in:
commit
e9972451da
1 changed files with 3 additions and 0 deletions
|
|
@ -2486,10 +2486,12 @@ static struct spa_fga_port ramp_ports[] = {
|
||||||
{ .index = 1,
|
{ .index = 1,
|
||||||
.name = "Start",
|
.name = "Start",
|
||||||
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
||||||
|
.def = 0.0f, .min = -FLT_MAX, .max = FLT_MAX
|
||||||
},
|
},
|
||||||
{ .index = 2,
|
{ .index = 2,
|
||||||
.name = "Stop",
|
.name = "Stop",
|
||||||
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
.flags = SPA_FGA_PORT_INPUT | SPA_FGA_PORT_CONTROL,
|
||||||
|
.def = 1.0f, .min = -FLT_MAX, .max = FLT_MAX
|
||||||
},
|
},
|
||||||
{ .index = 3,
|
{ .index = 3,
|
||||||
.name = "Current",
|
.name = "Current",
|
||||||
|
|
@ -2498,6 +2500,7 @@ static struct spa_fga_port ramp_ports[] = {
|
||||||
{ .index = 4,
|
{ .index = 4,
|
||||||
.name = "Duration (s)",
|
.name = "Duration (s)",
|
||||||
.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 = FLT_MAX
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue