internal static extern int snd_pcm_hw_params_set_period_time_near(IntPtr playback_handle, IntPtr hw_params, int* val, int* dir);