Exemplo n.º 1
0
 /// <summary>
 /// Pause the <see cref="SoundGroup"/> object.
 /// </summary>
 /// <param name="group">The <see cref="SoundGroup"/> to pause.</param>
 public void Pause(SoundGroup group)
 {
     foreach (var source in group.GetSources())
     {
         Pause(source);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Stop playing the <see cref="SoundGroup"/> object.
 /// </summary>
 /// <param name="group">The <see cref="SoundGroup"/> to pause.</param>
 public void Stop(SoundGroup group)
 {
     foreach (var source in group.GetSources())
     {
         Stop(source);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Start or resume playing the <see cref="SoundGroup"/> object.
 /// </summary>
 /// <param name="group">The <see cref="SoundGroup"/> to play or resume.</param>
 public virtual void Play(SoundGroup group)
 {
     foreach (var source in group.GetSources())
     {
         Play(source);
     }
 }