| 59 | } |
| 60 | |
| 61 | void AudioNodeInput::disconnectAll(ContextGraphLock & g, std::shared_ptr<AudioNodeInput> fromInput) |
| 62 | { |
| 63 | ASSERT(g.context()); |
| 64 | if (!fromInput || !fromInput->destinationNode()) |
| 65 | return; |
| 66 | |
| 67 | for (auto i : fromInput->m_connectedOutputs) |
| 68 | { |
| 69 | auto o = i.lock(); |
| 70 | if (o) |
| 71 | { |
| 72 | fromInput->junctionDisconnectOutput(o); |
| 73 | o->removeInput(g, fromInput); |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | void AudioNodeInput::updateInternalBus(ContextRenderLock & r) |
| 79 | { |
nothing calls this directly
no test coverage detected