Lines Matching refs:handle_p
102 snd_pcm_t *handle_p = NULL; in main() local
179 if ((err = snd_pcm_open(&handle_p, pcm_name, SND_PCM_STREAM_PLAYBACK, 0)) < 0) { in main()
184 if ((err = snd_pcm_set_params(handle_p, in main()
197 err = snd_pcm_hw_params_current(handle_p, hwparams_p); in main()
218 err = snd_pcm_sw_params_current(handle_p, swparams_p); in main()
225 err = snd_pcm_sw_params_set_tstamp_mode(handle_p, swparams_p, SND_PCM_TSTAMP_ENABLE); in main()
231 err = snd_pcm_sw_params_set_tstamp_type(handle_p, swparams_p, TSTAMP_TYPE); in main()
238 err = snd_pcm_sw_params(handle_p, swparams_p); in main()
315 if ((err = snd_pcm_link(handle_c, handle_p)) < 0) { in main()
325 frames = snd_pcm_writei(handle_p, buffer_p, PERIOD); in main()
334 snd_pcm_start(handle_p); in main()
399 frames = snd_pcm_writei(handle_p, buffer_p, PERIOD); in main()
411 _gettimestamp(handle_p, &tstamp_p, &trigger_tstamp_p, in main()
444 if (handle_p) in main()
445 snd_pcm_close(handle_p); in main()