mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Throw on out-of-bounds channelCount in AudioNodes
This commit is contained in:
parent
0ac861ca94
commit
28c21421ca
9 changed files with 44 additions and 38 deletions
|
@ -49,7 +49,7 @@ impl ChannelMergerNode {
|
|||
&node_options,
|
||||
options.numberOfInputs, // inputs
|
||||
1, // outputs
|
||||
);
|
||||
)?;
|
||||
Ok(ChannelMergerNode {
|
||||
node,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue