/// <summary> /// Leaves the load mode. Stops the device that playes EAR pulses /// </summary> private void LeaveLoadMode() { _currentMode = TapeOperationMode.Passive; _tapePlayer = null; TapeProvider?.Reset(); HostVm.BeeperDevice.SetTapeOverride(false); LeftLoadMode?.Invoke(this, EventArgs.Empty); }
/// <summary> /// Resets the tape device /// </summary> public void Reset() { TapeProvider?.Reset(); _tapePlayer = null; _currentMode = TapeOperationMode.Passive; _savePhase = SavePhase.None; _micBitState = true; }