mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Fix GainNode constructor for gain audioparam
This commit is contained in:
parent
bb61487d8f
commit
daf85918e3
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ impl GainNode {
|
||||||
node.node_id(),
|
node.node_id(),
|
||||||
ParamType::Gain,
|
ParamType::Gain,
|
||||||
AutomationRate::A_rate,
|
AutomationRate::A_rate,
|
||||||
1., // default value
|
*options.gain, // default value
|
||||||
f32::MIN, // min value
|
f32::MIN, // min value
|
||||||
f32::MAX, // max value
|
f32::MAX, // max value
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue