BASS.NET API for the Un4seen BASS Audio Library

BASS_BFX_VOLUME Class

BASS.NET API for the Un4seen BASS Audio Library
Used with BASS_ChannelSetFX(Int32, BASSFXType, Int32), BASS_FXSetParameters(Int32, IntPtr) and BASS_FXGetParameters(Int32, IntPtr) to retrieve and set the parameters of the DSP effect Volume. (L/R for STEREO, L for MONO for both channels).
Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.FxBASS_BFX_VOLUME

Namespace:  Un4seen.Bass.AddOn.Fx
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public sealed class BASS_BFX_VOLUME

The BASS_BFX_VOLUME type exposes the following members.

Constructors

  NameDescription
Public methodBASS_BFX_VOLUME
Default constructor.
Public methodBASS_BFX_VOLUME(Single)
Constructor already setting the members.
Public methodBASS_BFX_VOLUME(Single, BASSFXChan)
Constructor already setting the members.
Top
Fields

  NameDescription
Public fieldfVolume
Volume of the channel (0..1..n). Default = 1 (no amplification).
Public fieldlChannel
A BASSFXChan flag to define on which channels to apply the effect. 0 (BASS_FX_DSP_CHANNONE) for global volume control.

Default: -1 (BASS_BFX_CHANALL) - all channels.

Top
Remarks

Global volume is set to 1.0 [0dB]. Channels volume can't be greater than global volume. To set a new global volume, set lChannel = 0.
See Also

Reference