| 35 | } |
| 36 | |
| 37 | void TranscriptionManager::timerCallback() |
| 38 | { |
| 39 | if (mTimeQuantizeOptions.checkInfoUpdated()) { |
| 40 | mTimeQuantizeOptions.saveStateToValueTree(true); |
| 41 | } |
| 42 | |
| 43 | if (mShouldRunNewTranscription) { |
| 44 | launchTranscribeJob(); |
| 45 | _repaintPianoRoll(); |
| 46 | } else if (mShouldUpdateTranscription) { |
| 47 | _updateTranscription(); |
| 48 | _repaintPianoRoll(); |
| 49 | } else if (mShouldUpdatePostProcessing) { |
| 50 | _updatePostProcessing(); |
| 51 | _repaintPianoRoll(); |
| 52 | } else if (mShouldRepaintPianoRoll) { |
| 53 | _repaintPianoRoll(); |
| 54 | } |
| 55 | } |
| 56 | void TranscriptionManager::prepareToPlay(double inSampleRate) |
| 57 | { |
| 58 | mTimeQuantizeOptions.prepareToPlay(inSampleRate); |
nothing calls this directly
no test coverage detected