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

SetEffectVolume() public method

public SetEffectVolume ( double volume ) : AudioPlayer
volume double
return AudioPlayer
        public AudioPlayer SetEffectVolume(double volume)
        {
            this.currentEffectVolume = volume;

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

            return this;
        }