public static void PlayMp3(string filePath, bool ispass = false) { try { filePath.ToSaveLog("语音播报."); var path = IrAdvanced.GetAbsolutePath(filePath); if (!path.IsNullOrEmpty()) { Player.Open(new Uri(path, UriKind.Relative)); Player.Play(); } } catch (Exception ex) { ex.ToSaveLog("PlayMp3:"); } }