MCPcopy Create free account
hub / github.com/LabSound/LabSound / setting

Method setting

src/core/AudioNode.cpp:302–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302AudioSettingDescriptor const * const AudioNodeDescriptor::setting(char const * const s) const
303{
304 if (!settings)
305 return nullptr;
306
307 AudioSettingDescriptor const * i = settings;
308 while (i->name)
309 {
310 if (!strcmp(s, i->name))
311 return i;
312
313 ++i;
314 }
315
316 return nullptr;
317}
318
319AudioNode::AudioNode(AudioContext & ac, AudioNodeDescriptor const & desc)
320 : _scheduler(ac.sampleRate())

Callers 1

Calls 2

sizeMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected