openmpt_module_set_repeat_count

Function openmpt_module_set_repeat_count 

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

\brief Set Repeat Count

\param mod The module handle to work on. \param repeat_count Repeat Count

  • -1: repeat forever
  • 0: play once, repeat zero times (the default)
  • n>0: play once and repeat n times after that \return 1 on success, 0 on failure. \sa openmpt_module_get_repeat_count