public MacroPlayer(IMacro macro, WaitHandle stoppedEvent, IElementPlayerClient client) : base(stoppedEvent, client) { m_Macro = macro; State = MacroPlayerState.NotStarted; m_ConditionEvent = new AutoResetEvent(false); }
public SingleMusicPlayer(IWebRadioElement webRadio, WaitHandle stoppedEvent, IElementPlayerClient client) : base(stoppedEvent, client) { m_Element = webRadio; }
public SingleMusicPlayer(IFileElement musicFile, WaitHandle stoppedEvent, IElementPlayerClient client) : base(stoppedEvent, client) { m_Element = musicFile; }
public RandomMusicPlayer(IRandomBackgroundMusicList list, WaitHandle stoppedEvent, IElementPlayerClient client) : base(stoppedEvent, client) { m_LastElementsStack = new List <IChoiceElement>(); m_GoBack = false; m_FixedNext = -1; m_RepeatCount = 0; m_Container = Ares.ModelInfo.Playlists.ExpandRandomMusicList(list, (String error) => { ErrorHandling.ErrorOccurred(list.Id, error); }); }
public SequentialMusicPlayer(ISequentialBackgroundMusicList list, WaitHandle stoppedEvent, IElementPlayerClient client) : base(stoppedEvent, client) { m_Container = Ares.ModelInfo.Playlists.ExpandSequentialMusicList(list, (String error) => { ErrorHandling.ErrorOccurred(list.Id, error); }); m_RepeatCount = 0; }
protected MusicPlayer(WaitHandle stoppedEvent, IElementPlayerClient client) : base(stoppedEvent, client) { m_RepeatCurrentMusic = PlayingModule.ThePlayer.RepeatCurrentMusic; }