Sets the playback position of a video stream.
Namespace: Un4seen.Bass.AddOn.DShow
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.3
Syntax
[DllImportAttribute("xVideo", EntryPoint = "xVideo_ChannelSetPosition")] public static bool BASS_DSHOW_ChannelSetPosition( int handle, double pos, BASSDSHOWMode mode )
Parameters
- handle
- Type: SystemInt32
The video channel handle (as returned by BASS_DSHOW_StreamCreateFile(String, Int32, IntPtr, BASSFlag)). - pos
- Type: SystemDouble
The new position to set. - mode
- Type: Un4seen.Bass.AddOn.DShowBASSDSHOWMode
How to retrieve the position. One of the following (see BASSDSHOWMode):BASS_DSHOW_POS_SEC The position is in seconds. BASS_DSHOW_POS_MILISEC The position is in milliseconds. BASS_DSHOW_POS_FRAME The position is in video frames. BASS_DSHOW_POS_REFTIME The position is in reference time (1 unit = 100 nanoseconds).
Return Value
Type: Boolean[Missing <returns> documentation for "M:Un4seen.Bass.AddOn.DShow.BassDShow.BASS_DSHOW_ChannelSetPosition(System.Int32,System.Double,Un4seen.Bass.AddOn.DShow.BASSDSHOWMode)"]
See Also