/external/adhd/cras/src/server/ |
D | cras_alsa_ucm_section.c | 17 free((void *)section->pcm_name); in ucm_section_free() 34 struct ucm_section *ucm_section_create(const char *name, const char *pcm_name, in ucm_section_create() argument 57 section->pcm_name = strdup(pcm_name); in ucm_section_create() 58 if (!section->pcm_name) in ucm_section_create()
|
D | cras_alsa_plugin_io.c | 114 const char *pcm_name, const char *ctl_name, in alsa_plugin_io_create() argument 162 plugin->iodev = alsa_iodev_create(0, card_name, 0, pcm_name, "", "", in alsa_plugin_io_create() 209 const char *tmp, *pcm_name, *ctl_name, *card_name; in cras_alsa_plugin_io_init() local 238 pcm_name = iniparser_getstring(plugins_ini, key_name, NULL); in cras_alsa_plugin_io_init() 239 if (!pcm_name) in cras_alsa_plugin_io_init() 261 pcm_name, ctl_name, card_name); in cras_alsa_plugin_io_init() 263 alsa_plugin_io_create(direction, pcm_name, ctl_name, card_name); in cras_alsa_plugin_io_init()
|
D | cras_alsa_ucm.c | 751 const char *pcm_name = NULL; in ucm_get_alsa_dev_idx_for_dev() local 755 pcm_name = ucm_get_playback_device_name_for_dev(mgr, dev); in ucm_get_alsa_dev_idx_for_dev() 757 pcm_name = ucm_get_capture_device_name_for_dev(mgr, dev); in ucm_get_alsa_dev_idx_for_dev() 759 if (pcm_name) { in ucm_get_alsa_dev_idx_for_dev() 760 dev_idx = get_device_index_from_target(pcm_name); in ucm_get_alsa_dev_idx_for_dev() 761 free((void *)pcm_name); in ucm_get_alsa_dev_idx_for_dev() 868 const char *pcm_name; in ucm_get_dir_for_device() local 870 pcm_name = ucm_get_playback_device_name_for_dev(mgr, dev_name); in ucm_get_dir_for_device() 872 if (pcm_name) { in ucm_get_dir_for_device() 874 return pcm_name; in ucm_get_dir_for_device() [all …]
|
D | cras_alsa_ucm_section.h | 21 const char *pcm_name; member 56 struct ucm_section *ucm_section_create(const char *name, const char *pcm_name,
|
D | cras_alsa_io.c | 90 const char *pcm_name; member 98 const char *pcm_name; member 142 char *pcm_name; member 393 const char *pcm_name = NULL; in open_dev() local 399 pcm_name = aout->pcm_name; in open_dev() 403 pcm_name = ain->pcm_name; in open_dev() 407 if (pcm_name == NULL) in open_dev() 408 pcm_name = aio->pcm_name; in open_dev() 410 rc = cras_alsa_pcm_open(&handle, pcm_name, aio->alsa_stream); in open_dev() 450 aio->pcm_name, iodev->format->frame_rate, in configure_dev() [all …]
|
D | cras_alsa_card.c | 87 char pcm_name[MAX_ALSA_PCM_NAME_LENGTH]; in create_iodev_for_device() local 109 snprintf(pcm_name, MAX_ALSA_PCM_NAME_LENGTH, "%s,%u", alsa_card->name, in create_iodev_for_device() 115 pcm_name, dev_name, dev_id, info->card_type, in create_iodev_for_device() 121 syslog(LOG_ERR, "Couldn't create alsa_iodev for %s", pcm_name); in create_iodev_for_device() 128 pcm_name); in create_iodev_for_device()
|
D | cras_alsa_io.h | 42 const char *pcm_name, const char *dev_name,
|
/external/igt-gpu-tools/lib/ |
D | igt_alsa.c | 113 const char *pcm_name; in alsa_resolve_indentifier() local 164 pcm_name = snd_pcm_info_get_name(pcm_info); in alsa_resolve_indentifier() 165 if (!pcm_name) in alsa_resolve_indentifier() 168 ret = strncmp(device_name, pcm_name, in alsa_resolve_indentifier() 177 igt_debug("Matched device \"%s\"\n", pcm_name); in alsa_resolve_indentifier()
|
/external/adhd/cras/src/tests/ |
D | alsa_ucm_unittest.cc | 1189 static const char* pcm_name = "hw:0,1"; in TEST() local 1199 section = ucm_section_create(name, pcm_name, dev_idx, dependent_dev_idx, dir, in TEST() 1324 EXPECT_EQ(0, strcmp(section->pcm_name, "hw:my-sound-card,0")); in TEST() 1342 EXPECT_EQ(0, strcmp(section->pcm_name, "hw:my-sound-card,1")); in TEST() 1360 EXPECT_EQ(0, strcmp(section->pcm_name, "hw:my-sound-card,2")); in TEST() 1373 EXPECT_EQ(0, strcmp(section->pcm_name, "hw:my-sound-card,3")); in TEST() 1389 EXPECT_EQ(0, strcmp(section->pcm_name, "hw:my-sound-card,4")); in TEST()
|
D | alsa_card_unittest.cc | 1029 const char* pcm_name, in alsa_iodev_create() argument
|
/external/kernel-headers/original/uapi/sound/ |
D | asoc.h | 519 char pcm_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; member 619 char pcm_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; member
|