| 160 | } |
| 161 | |
| 162 | void AudioNodeOutput::removeInput(ContextGraphLock & g, std::shared_ptr<AudioNodeInput> input) |
| 163 | { |
| 164 | if (!input) |
| 165 | return; |
| 166 | |
| 167 | for (std::vector<std::shared_ptr<AudioNodeInput>>::iterator i = m_inputs.begin(); i != m_inputs.end(); ++i) |
| 168 | { |
| 169 | if (input == *i) |
| 170 | { |
| 171 | input->setDirty(); |
| 172 | i = m_inputs.erase(i); |
| 173 | if (i == m_inputs.end()) break; |
| 174 | } |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | void AudioNodeOutput::disconnectAllInputs(ContextGraphLock & g, std::shared_ptr<AudioNodeOutput> self) |
| 179 | { |
no test coverage detected