Returns the volume level at the given position of the volume curve.
Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
public float GetVolumeLevel( long position, bool reverse, ref long duration, ref float nextLevel )
Parameters
- position
- Type: SystemInt64
The position (in bytes) of the volume point to get. - reverse
- Type: SystemBoolean
, if to search in reverse direction - else . - duration
- Type: SystemInt64
Returns the duration (in bytes) to the next volume point in bytes. - nextLevel
- Type: SystemSingle
Returns the volume level at the next volume point.
Return Value
Type: SingleThe volume level (0=silent, 1.0=maximum=0dB) at the given position.
Remarks
See Also