MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / clear

Method clear

NeuralNote/Source/TimeQuantizeOptions.cpp:149–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void TimeQuantizeOptions::clear()
150{
151 // Kepp bpm and time signature, reset ref positions
152 mTimeQuantizeInfo.refPositionQn = 0;
153 mTimeQuantizeInfo.refLastBarQn = 0;
154 mTimeQuantizeInfo.refPositionSeconds = 0;
155 mWasRecording = false;
156 mWasPlaying = false;
157 mNumRecordedSamples = 0;
158}
159
160bool TimeQuantizeOptions::isPlayheadPlaying(const Optional<AudioPlayHead::PositionInfo>& inPositionInfoPtr)
161{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected