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

Method fileLoaded

NeuralNote/Source/TimeQuantizeOptions.cpp:60–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void TimeQuantizeOptions::fileLoaded()
61{
62 ScopedLock lock(mInfoCriticalSection);
63 mTimeQuantizeInfo.refPositionQn = 0.0f;
64 mTimeQuantizeInfo.refLastBarQn = 0.0f;
65 mTimeQuantizeInfo.refPositionSeconds = 0.0f;
66
67 mWasRecording = false;
68 mWasPlaying = false;
69 mNumRecordedSamples = 0;
70
71 saveStateToValueTree(false);
72}
73
74void TimeQuantizeOptions::_setInfo(const Optional<AudioPlayHead::PositionInfo>& inPositionInfoPtr)
75{

Callers 1

onFileDropMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected