pub unsafe extern "C" fn snd_pcm_hw_params_get_rate(
    params: *const snd_pcm_hw_params_t,
    val: *mut c_uint,
    dir: *mut c_int
) -> c_int