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( double position, bool reverse, ref double duration, ref float nextLevel )
Parameters
- position
- Type: SystemDouble
The position (in seconds) of the volume point to get. - reverse
- Type: SystemBoolean
, if to search in reverse direction - else . - duration
- Type: SystemDouble
Returns the duration (in seconds) 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