snd_pcm_hw_params_current() always returning zero for periods and buffer_time