MCPcopy Create free account
hub / github.com/VCVRack/Rack / getDefaultValue

Method getDefaultValue

src/app/MenuBar.cpp:195–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 return 2.f;
194 }
195 float getDefaultValue() override {
196 return 0.0;
197 }
198 float getDisplayValue() override {
199 return std::round(std::pow(2.f, getValue()) * 100);
200 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected