/// ------------------------------------------------------------------------------------ public void BeginPlayback() { if (!AudioUtils.GetCanPlaybackAudio()) { return; } _player = new AudioPlayer(); _player.Stopped += (sender, e) => { _player.Dispose(); _player = null; if (UpdateAction != null) { UpdateAction(sender, e); } }; _player.LoadFile(_path); _player.StartPlaying(); }