pub unsafe extern "C" fn snd_pcm_hw_params_set_periods_minmax(
    pcm: *mut snd_pcm_t,
    params: *mut snd_pcm_hw_params_t,
    min: *mut c_uint,
    mindir: *mut c_int,
    max: *mut c_uint,
    maxdir: *mut c_int
) -> c_int