| 576 | } |
| 577 | |
| 578 | void AudioNode::conformChannelCounts() |
| 579 | { |
| 580 | return; |
| 581 | |
| 582 | // no generic count conforming. nodes are responsible if they are going to do it at all |
| 583 | /* |
| 584 | int inputChannelCount = input->numberOfChannels(r); |
| 585 | |
| 586 | bool channelCountChanged = false; |
| 587 | for (int i = 0; i < numberOfOutputs() && !channelCountChanged; ++i) |
| 588 | { |
| 589 | channelCountChanged = isInitialized() && inputChannelCount != output(i)->numberOfChannels(); |
| 590 | } |
| 591 | |
| 592 | if (channelCountChanged) |
| 593 | { |
| 594 | uninitialize(); |
| 595 | for (int i = 0; i < numberOfOutputs(); ++i) |
| 596 | { |
| 597 | // This will propagate the channel count to any nodes connected further down the chain... |
| 598 | output(i)->setNumberOfChannels(r, inputChannelCount); |
| 599 | } |
| 600 | initialize(); |
| 601 | } |
| 602 | */ |
| 603 | } |
| 604 | |
| 605 | void AudioNode::checkNumberOfChannelsForInput(ContextRenderLock & r, AudioNodeInput * input) |
| 606 | { |
nothing calls this directly
no outgoing calls
no test coverage detected