pub unsafe extern "C" fn snd_pcm_set_params(
    pcm: *mut snd_pcm_t,
    format: snd_pcm_format_t,
    access: snd_pcm_access_t,
    channels: c_uint,
    rate: c_uint,
    soft_resample: c_int,
    latency: c_uint
) -> c_int