public void Start() { if (client.State == M.MAudioClientState.Initialized || client.State == M.MAudioClientState.Stopped || client.State == M.MAudioClientState.JustReset) { client.Start(); } }
public void Start() { if (client.State == M.MAudioClientState.Initialized || client.State == M.MAudioClientState.Stopped || client.State == M.MAudioClientState.JustReset) { client.Start(); mediaControl.PlaybackStatus = MediaPlaybackStatus.Playing; } }