Method
Libopenmpt.ModuleGetDurationSeconds(IntPtr)

Summary

Syntax

[DllImport(DLL, EntryPoint = "openmpt_module_get_duration_seconds")]
public static extern double ModuleGetDurationSeconds(IntPtr mod)

Remarks

The function may return infinity if the pattern data is too complex to evaluate.

Attributes

Type Description
DllImportAttribute

Parameters

Name Type Description
mod IntPtr The module handle to work on.

Return Value

Type Description
double Approximate duration of current sub-song in seconds.