| 603 | } |
| 604 | |
| 605 | void AudioNode::checkNumberOfChannelsForInput(ContextRenderLock & r, AudioNodeInput * input) |
| 606 | { |
| 607 | ASSERT(r.context()); |
| 608 | |
| 609 | if (!input || input != this->input(0).get()) |
| 610 | return; |
| 611 | |
| 612 | for (auto & in : m_inputs) |
| 613 | { |
| 614 | if (in.get() == input) |
| 615 | { |
| 616 | input->updateInternalBus(r); |
| 617 | break; |
| 618 | } |
| 619 | } |
| 620 | } |
| 621 | |
| 622 | bool AudioNode::propagatesSilence(ContextRenderLock& r) const |
| 623 | { |
no test coverage detected