pub unsafe extern "C" fn snd_pcm_hw_params_get_period_size(
    params: *const snd_pcm_hw_params_t,
    frames: *mut snd_pcm_uframes_t,
    dir: *mut c_int
) -> c_int