MCPcopy Create free account
hub / github.com/davy7125/polyphone / resetComputation

Method resetComputation

sources/sound_engine/modulatedparameter.cpp:44–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void ModulatedParameter::resetComputation()
45{
46 // Back to default value
47 _instValue.setType(_type, false);
48 _prstValue.setType(_type, true);
49
50 // Not computed yet
51 _computed = false;
52 _computedValue.dwValue = 0;
53
54 // No modulation yet
55 clearModulations();
56}
57
58void ModulatedParameter::initValue(AttributeValue value, bool isPrst)
59{

Callers 1

initializeMethod · 0.80

Calls 1

setTypeMethod · 0.45

Tested by

no test coverage detected