pub unsafe extern "C" fn openmpt_module_select_subsong(
    mod_: *mut openmpt_module,
    subsong: i32
) -> c_int
Expand description

\brief Select a sub-song from a multi-song module

\param mod The module handle to work on. \param subsong Index of the sub-song. -1 plays all sub-songs consecutively. \return 1 on success, 0 on failure. \sa openmpt_module_get_num_subsongs, openmpt_module_get_selected_subsong, openmpt_module_get_subsong_name \remarks 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.