Engines/FlatRedBallXNA/FlatRedBall/Audio/SoundGroup.cs
/// <summary>
/// Sets the default volume range for the entire sound effect group. This default will only apply
/// if the specific sound effect being played has no specified range.
/// </summary>
/// <param name="minVolume"></param>
/// <param name="maxVolume"></param>
Sets the default volume range for the entire sound effect group. This default will only apply
if the specific sound effect being played has no specified range.
Sets the default volume range for the entire sound effect group . This default will only apply if the specific sound effect being played has no specified range .
public void SetDefaultVolumeRange(float minVolume, float maxVolume)
        {
            if(defaultCoefficient == null)
            {
                defaultCoefficient = new SoundPlayingCoefficients();
            }
            defaultCoefficient.MinVolume = minVolume;
            defaultCoefficient.MaxVolume = maxVolume;
        }
public void SetDefaultVolumeRange ( float minVolume , float maxVolume ) { if ( defaultCoefficient == null ) { defaultCoefficient = new SoundPlayingCoefficients ( ) ; } defaultCoefficient . MinVolume = minVolume ; defaultCoefficient . MaxVolume = maxVolume ; }
Sets the default volume range for the entire sound effect group.
Sets the default volume range for the entire sound effect group .
minVolume
float
None
maxVolume
float
None