mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
AudioParam automation rate setter
This commit is contained in:
parent
758ae94aa1
commit
3dde730f9b
2 changed files with 29 additions and 3 deletions
|
@ -236,7 +236,7 @@ impl AudioNodeMethods for AudioNode {
|
|||
fn SetChannelInterpretation(&self, value: ChannelInterpretation) {
|
||||
// Channel interpretation mode has no effect for nodes with no inputs.
|
||||
if self.number_of_inputs == 0 {
|
||||
return Ok(());
|
||||
return;
|
||||
}
|
||||
|
||||
self.channel_interpretation.set(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue