| 60 | } |
| 61 | |
| 62 | lab::AudioNode* NodeRegistry::Create(const std::string& n, lab::AudioContext& ac) |
| 63 | { |
| 64 | auto i = _detail->descriptors.find(n); |
| 65 | if (i == _detail->descriptors.end()) |
| 66 | return nullptr; |
| 67 | |
| 68 | return i->second.c(ac); |
| 69 | } |
| 70 | |
| 71 | AudioNodeDescriptor const * const NodeRegistry::Descriptor(const std::string & n) const |
| 72 | { |
nothing calls this directly
no outgoing calls
no test coverage detected