The output gain of an Opus stream.
|handle||The Opus stream handle.
|gain||The gain in dB.
Opus files have an "output gain" header field, which is applied by BASSOPUS to the decoded sample data. This attribute can be used to retrieve and override that gain value. When there are multiple logical bitstreams, each bitstream has its own output gain value, and this attribute will be reset to the new bitstream's header value upon a bitstream switch. A BASS_SYNC_OGG_CHANGE sync can be set via BASS_ChannelSetSync
to be informed of when a new bitstream begins during decoding/playback.