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