Summary
Select a sub-song from a multi-song module.
Syntax
[DllImport(DLL, EntryPoint = "openmpt_module_select_subsong")]
public static extern int ModuleSelectSubsong(IntPtr mod, int subsong)
Whether subsong -1 (all subsongs consecutively), subsong 0 or some other subsong is selected by default, is an implementation detail and subject to change.
If you do not want to care about subsongs, it is recommended to just not call openmpt_module_select_subsong() at all.
Attributes
Type |
Description |
DllImportAttribute |
|
Parameters
Name |
Type |
Description |
mod |
IntPtr |
The module handle to work on. |
subsong |
int |
Index of the sub-song. -1 plays all sub-songs consecutively. |
Return Value
Type |
Description |
int |
1 on success, 0 on failure. |