| 522 | } |
| 523 | |
| 524 | void PannerNode::notifyAudioSourcesConnectedToNode(ContextRenderLock & r, AudioNode * node) |
| 525 | { |
| 526 | ASSERT(node); |
| 527 | if (!node) |
| 528 | return; |
| 529 | |
| 530 | // Go through all inputs to this node. |
| 531 | for (int i = 0; i < node->numberOfInputs(); ++i) |
| 532 | { |
| 533 | auto input = node->input(i); |
| 534 | |
| 535 | // For each input, go through all of its connections, looking for SampledAudioNodes. |
| 536 | for (int j = 0; j < input->numberOfRenderingConnections(r); ++j) |
| 537 | { |
| 538 | auto connectedOutput = input->renderingOutput(r, j); |
| 539 | AudioNode * connectedNode = connectedOutput->sourceNode(); |
| 540 | notifyAudioSourcesConnectedToNode(r, connectedNode); // recurse |
| 541 | } |
| 542 | } |
| 543 | } |
| 544 | |
| 545 | float PannerNode::refDistance() |
| 546 | { |
nothing calls this directly
no test coverage detected