mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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(),
|
||||
ParamType::Gain,
|
||||
AutomationRate::A_rate,
|
||||
1., // default value
|
||||
*options.gain, // default value
|
||||
f32::MIN, // min value
|
||||
f32::MAX, // max value
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue