Exemplo n.º 1
0
        internal void Play(JJaxCue cue)
        {
            cue.OnStopped += new OnStoppedEvent(SongStopped);
            cue.Play();

            cues.Add(cue);
        }
Exemplo n.º 2
0
        internal void Stop(string name)
        {
            JJaxCue cue = (from c in cues
                           where c.Name == name
                           select c).FirstOrDefault();

            if (cue != null)
            {
                cue.Stop();
            }
        }
Exemplo n.º 3
0
        internal bool IsPlaying(string name)
        {
            JJaxCue cue = (from c in cues
                           where c.Name == name
                           select c).FirstOrDefault();

            if (cue == null)
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 4
0
 void SongStopped(JJaxCue song)
 {
     song.Dispose();
     cues.Remove(song);
 }