private static bool HandleExcistingPlay(InMusicGroup musicGroup, ref PlayingMusicInfo playingInfo) { if (playingInfo.State == MusicState.Playing) { StopPlayersNow(musicGroup); } else if (playingInfo.State == MusicState.Paused) { UnpausePlayers(musicGroup); return(true); } return(false); }
private static bool HandleExcistingPlay(InMusicGroup musicGroup, ref PlayingMusicInfo playingInfo) { if (playingInfo.State == MusicState.Playing) { StopPlayersNow(musicGroup); } else if (playingInfo.State == MusicState.Paused) { UnpausePlayers(musicGroup); return true; } return false; }