/// <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); } }
/// <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); } }
/// <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); } }