示例#1
0
文件: Player.cs 项目: Raumo0/Labs
 public Player(PlayList playList)
 {
     if (playList == null)
         throw new ArgumentNullException("playList");
     _playList = playList;
     _track = _playList.GetFirstTrack();
     State = PlayerStop.Instance;
 }
示例#2
0
文件: Player.cs 项目: Raumo0/Labs
 internal void SetState(PlayerState state)
 {
     if (state != null)
         State = state;
 }