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

Method setType

src/extended/NoiseNode.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void NoiseNode::setType(NoiseType type)
42{
43 if (type >= NoiseType::_Count)
44 throw std::out_of_range("Noise argument exceeds known noise types");
45
46 _type->setUint32(uint32_t(type));
47}
48
49NoiseNode::NoiseType NoiseNode::type() const
50{

Callers 10

updateMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45
playMethod · 0.45

Calls 1

setUint32Method · 0.80

Tested by

no test coverage detected