Fix GainNode constructor for gain audioparam

This commit is contained in:
Manish Goregaokar 2018-09-19 23:21:28 +05:30
parent bb61487d8f
commit daf85918e3

View file

@ -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
); );