| 380 | } |
| 381 | |
| 382 | std::shared_ptr<AudioNodeOutput> AudioNode::output(char const* const str) |
| 383 | { |
| 384 | for (auto & i : m_outputs) |
| 385 | { |
| 386 | if (i->name() == str) |
| 387 | return i; |
| 388 | } |
| 389 | return {}; |
| 390 | } |
| 391 | |
| 392 | |
| 393 | // safe without a Render lock because vector is immutable |