| 216 | //from SynthesiserVoice |
| 217 | |
| 218 | void CVASTSingleNote::clearCurrentNote() |
| 219 | { |
| 220 | if (currentlyPlayingNote != -1) { |
| 221 | VDBG("Note is cleared - voice is not playing / active anymore: " << getVoiceNo()); |
| 222 | currentlyPlayingNote = -1; |
| 223 | currentlyPlayingSound = nullptr; |
| 224 | currentPlayingMidiChannel = 0; |
| 225 | |
| 226 | //remove oscbank softfade |
| 227 | for (int bank = 0; bank < 4; bank++) { |
| 228 | m_Poly->m_OscBank[bank].removeSingleNoteSoftFadeCycle(mVoiceNo); |
| 229 | } |
| 230 | resetSoftFadeState(); |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | |
| 235 | bool CVASTSingleNote::canPlaySound(SynthesiserSound*) |
nothing calls this directly
no test coverage detected