public override void CommandReceived(int signal) { switch (signal) { case EXIT: CloseRecorder(); OnStepIntoMenu(null); return; case BACK_TO_PARENT_MENU: CloseRecorder(); CloseNarrator(); OnStepIntoMenu(Parent); return; case INPUT_END: CloseRecorder(); Narrator.RestartNarration(NarratorType == NarratorType.TextToSpeech ? PostIntroduction : PostIntroductionAudio); return; } }
public override void RestartIntroduction() { Narrator.RestartNarration(NarratorType == NarratorType.TextToSpeech ? Introduction : AudioFile); }