Animatroller.Framework.LogicalDevice.AudioPlayer.SetBackgroundVolume C# (CSharp) Method

SetBackgroundVolume() public method

public SetBackgroundVolume ( double volume ) : AudioPlayer
volume double
return AudioPlayer
        public AudioPlayer SetBackgroundVolume(double volume)
        {
            this.currentBackgroundVolume = volume;

            RaiseExecuteCommand(AudioCommandEventArgs.Commands.BackgroundVolume, volume * Executor.Current.MasterVolume.Value);

            return this;
        }