pub unsafe extern "C" fn snd_pcm_sw_params_get_period_event(
    params: *const snd_pcm_sw_params_t,
    val: *mut c_int
) -> c_int