pub unsafe extern "C" fn openmpt_module_get_num_channels(
    mod_: *mut openmpt_module
) -> i32
Expand description

\brief Get the number of pattern channels

\param mod The module handle to work on. \return The number of pattern channels in the module. Not all channels do necessarily contain data. \remarks The number of pattern channels is completely independent of the number of output channels. libopenmpt can render modules in mono, stereo or quad surround, but the choice of which of the three modes to use must not be made based on the return value of this function, which may be any positive integer amount. Only use this function for informational purposes.