int snd_pcm_hw_params_set_rate_near(IntPtr /*snd_pcm_t* */pcm, IntPtr /*snd_pcm_hw_params_t * */@params, ref int val, out int dir);