Home
last modified time | relevance | path

Searched refs:pcminfo (Results 1 – 3 of 3) sorted by relevance

/third_party/alsa-lib/test/
Dcontrol.c10 snd_pcm_info_t *pcminfo; in main() local
15 snd_pcm_info_alloca(&pcminfo); in main()
52 snd_pcm_info_set_device(pcminfo, dev); in main()
53 snd_pcm_info_set_subdevice(pcminfo, 0); in main()
54 snd_pcm_info_set_stream(pcminfo, SND_PCM_STREAM_PLAYBACK); in main()
55 if ((err = snd_ctl_pcm_info(handle, pcminfo)) < 0) { in main()
60 printf(" device - %i\n", snd_pcm_info_get_device(pcminfo)); in main()
61 printf(" subdevice - %i\n", snd_pcm_info_get_subdevice(pcminfo)); in main()
62 printf(" stream - %i\n", snd_pcm_info_get_stream(pcminfo)); in main()
63 printf(" card - %i\n", snd_pcm_info_get_card(pcminfo)); in main()
[all …]
/third_party/alsa-lib/src/ucm/
Ducm_subs.c359 snd_pcm_info_t *pcminfo; in rval_pcm_lookup1() local
366 pcminfo = iter->info; in rval_pcm_lookup1()
367 snd_pcm_info_set_device(pcminfo, device); in rval_pcm_lookup1()
368 err = snd_ctl_pcm_info(ctl, pcminfo); in rval_pcm_lookup1()
409 snd_pcm_info_t *pcminfo; in rval_pcm_lookup_init() local
423 if (snd_pcm_info_malloc(&pcminfo)) in rval_pcm_lookup_init()
425 snd_pcm_info_set_device(pcminfo, 0); in rval_pcm_lookup_init()
426 snd_pcm_info_set_subdevice(pcminfo, 0); in rval_pcm_lookup_init()
427 snd_pcm_info_set_stream(pcminfo, stream); in rval_pcm_lookup_init()
432 iter->info = pcminfo; in rval_pcm_lookup_init()
/third_party/alsa-utils/aplay/
Daplay.c268 snd_pcm_info_t *pcminfo; in device_list() local
270 snd_pcm_info_alloca(&pcminfo); in device_list()
298 snd_pcm_info_set_device(pcminfo, dev); in device_list()
299 snd_pcm_info_set_subdevice(pcminfo, 0); in device_list()
300 snd_pcm_info_set_stream(pcminfo, stream); in device_list()
301 if ((err = snd_ctl_pcm_info(handle, pcminfo)) < 0) { in device_list()
309 snd_pcm_info_get_id(pcminfo), in device_list()
310 snd_pcm_info_get_name(pcminfo)); in device_list()
311 count = snd_pcm_info_get_subdevices_count(pcminfo); in device_list()
313 snd_pcm_info_get_subdevices_avail(pcminfo), count); in device_list()
[all …]