Function openmpt_sys::openmpt_module_get_selected_subsong
source · [−]pub unsafe extern "C" fn openmpt_module_get_selected_subsong(
mod_: *mut openmpt_module
) -> i32
Expand description
\brief Get currently selected sub-song from a multi-song module
\param mod The module handle to work on. \return Currently selected sub-song. -1 for all subsongs consecutively, 0 or greater for the current sub-song index. \sa openmpt_module_get_num_subsongs, openmpt_module_select_subsong, openmpt_module_get_subsong_name \since 0.3.0