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