Summary
Set approximate current song position
Syntax
[DllImport(DLL, EntryPoint = "openmpt_module_set_position_seconds")]
public static extern double ModuleSetPositionSeconds(IntPtr mod, double seconds)
Attributes
| Type |
Description |
| DllImportAttribute |
|
Parameters
| Name |
Type |
Description |
| mod |
IntPtr |
The module handle to work on. |
| seconds |
double |
Seconds to seek to. If seconds is out of range, the position gets set to song start or end respectively. |
Return Value
| Type |
Description |
| double |
Approximate new song position in seconds. |