private void SetCurrentSoundSequence(int targetSoundSequenceIndex) { currentSoundSequenceIndex = targetSoundSequenceIndex; currentSoundSequence = currentSection.SoundSequences[currentSoundSequenceIndex]; currentSoundSequence.ResetPosition(); currentSoundSequence.GetNextState(ref SoundSignal.Level, out nextStateChangeCountdown); }
public void Eject() { Stop(); Tape = null; PlayingTime = 0; nextStateChangeCountdown = 0; currentSectionIndex = 0; currentSection = null; currentSoundSequenceIndex = 0; currentSoundSequence = null; }