Throw on out-of-bounds channelCount in AudioNodes

This commit is contained in:
Manish Goregaokar 2018-09-03 20:30:06 +05:30
parent 0ac861ca94
commit 28c21421ca
9 changed files with 44 additions and 38 deletions

View file

@ -84,7 +84,7 @@ impl PannerNode {
&node_options,
1, // inputs
1, // outputs
);
)?;
let id = node.node_id();
let position_x = AudioParam::new(
window,