pub unsafe extern "C" fn snd_pcm_hw_params_set_period_size_max(
    pcm: *mut snd_pcm_t,
    params: *mut snd_pcm_hw_params_t,
    val: *mut snd_pcm_uframes_t,
    dir: *mut c_int
) -> c_int