AudioParam automation rate setter

This commit is contained in:
Fernando Jiménez Moreno 2018-07-11 15:21:09 +02:00
parent 758ae94aa1
commit 3dde730f9b
2 changed files with 29 additions and 3 deletions

View file

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