BASS.NET API for the Un4seen BASS Audio Library

WaveFormFrame2Seconds Method

BASS.NET API for the Un4seen BASS Audio Library
Converts a given frame to the position (in seconds).

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

public double Frame2Seconds(
	int frame
)

Parameters

frame
Type: SystemInt32
The frame number which should be converted.

Return Value

Type: Double
The position (in seconds) or -1, if an error occured or the wave form has not been rendered yet.
Remarks

The wave form must have been rendered already before you can use this method.
See Also

Reference