async void stopAudioElement() { await _cw.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { AudioElement.Stop(); }); }
// 2. Stop public static AudioElement StopElement(string name, StopSettings stopSettings) { AudioElement e = GetElement(name); e.Stop(stopSettings); return(e); }