BASS_BFX_VOLUME

BASS FX

BASS_BFX_VOLUME structure

Used with BASS_FXGetParameters and BASS_FXSetParameters to retrieve and set the parameters of a volume effect.

typedef struct {
    int lChannel;
    float fVolume;
} BASS_BFX_VOLUME;

Members

lChannel Affected channels using BASS_BFX_CHANxxx flags or 0 for global volume control
fVolume Volume [0..1..n] linear

Remarks
lChannel needs to be set before a BASS_FXGetParameters call to tell it what volume level to return.
To set a new global volume, set lChannel = 0

See also
BASS_ChannelSetFX