/AliOS-Things-master/components/a2sa/src/driver/core/ |
A D | audio_card.c | 50 if(!card) { in audio_card_new() 55 card->id = id; in audio_card_new() 56 card->pcm_dev_num = 0; in audio_card_new() 57 card->pcm_str_num = 0; in audio_card_new() 62 if(!card->ctrl_dev) { in audio_card_new() 63 free(card); in audio_card_new() 70 free(card); in audio_card_new() 74 return card; in audio_card_new() 143 if(!card) { in audio_card_remove() 159 free(card); in audio_card_remove() [all …]
|
A D | control.c | 217 info->card = dev->id; in audio_ctl_card_info() 219 LOGD(LOG_TAG, "%s:%d, ----audio_ctl_card_info->card: %d", __func__, __LINE__, info->card); in audio_ctl_card_info()
|
/AliOS-Things-master/components/a2sa/src/framework/ |
A D | sound_mixer.c | 16 int card = 0; in aos_mixer_common_set_int_value() local 21 for(card = 0; card < AOS_SNDCARD_NUM_MAX; card++) { in aos_mixer_common_set_int_value() 22 if(MIXER_RETURN_SUCCESS == aos_mixer_open(&mixer, card)) { in aos_mixer_common_set_int_value() 38 int card = 0; in aos_mixer_common_get_int_value() local 43 for(card = 0; card < AOS_SNDCARD_NUM_MAX; card++) { in aos_mixer_common_get_int_value() 44 if(MIXER_RETURN_SUCCESS == aos_mixer_open(&mixer, card)) { in aos_mixer_common_get_int_value() 58 int aos_mixer_open(aos_mixer_t **mixer, int card) in aos_mixer_open() argument 68 snprintf(fn, sizeof(fn), "/dev/controlC%u", card); in aos_mixer_open() 81 (*mixer)->card = card; in aos_mixer_open()
|
A D | sound_pcm.c | 14 int aos_device_name_hint(int card, void *hints) in aos_device_name_hint() argument 20 if(card == -1) { in aos_device_name_hint() 32 node->card = i; in aos_device_name_hint() 44 snprintf(fn, sizeof(fn), "/dev/pcmC%uD%u%c", card, j, 'p'); in aos_device_name_hint() 52 node->card = card; in aos_device_name_hint() 56 … LOGD(LOG_TAG, "%s:%d, found sound card %d device %d %s", __func__, __LINE__, card, j, node->name); in aos_device_name_hint() 67 int card = 0, device = 0, fd = -1; in aos_pcm_open() local 80 for(card = 0; card < AOS_SNDCARD_NUM_MAX; card++) { in aos_pcm_open() 87 (*pcm)->card = card; in aos_pcm_open() 101 for(card = 0; card < AOS_SNDCARD_NUM_MAX; card++) { in aos_pcm_open() [all …]
|
/AliOS-Things-master/components/a2sa/internal/driver/core/ |
A D | audio_card.h | 28 pcm_device_t * audio_card_get_pcm_device(audio_card_t *card, void *private_data); 29 int audio_card_add_pcm_dev(audio_card_t *card, pcm_device_t *pcm_dev); 30 int audio_card_remove_pcm_dev(audio_card_t *card, pcm_device_t *pcm_dev); 31 int audio_card_remove(audio_card_t *card);
|
A D | control.h | 63 int card; /* card number */ member
|
/AliOS-Things-master/components/a2sa/src/driver/platform/rtos/ |
A D | audio_rtos.c | 361 audio_card_t *card = NULL; in audio_native_card_register() local 365 card = audio_card_new(); in audio_native_card_register() 366 if(!card) { in audio_native_card_register() 372 snprintf(name, sizeof(name), "/dev/pcmC%dD%dc", card->id, card->pcm_str_num); in audio_native_card_register() 380 native_device[0].parent_data = (void *)card; in audio_native_card_register() 381 ret = audio_card_add_pcm_dev(card, pcm_dev); in audio_native_card_register() 389 snprintf(name, sizeof(name), "/dev/pcmC%dD%dp", card->id, card->pcm_str_num); in audio_native_card_register() 397 native_device[1].parent_data = (void *)card; in audio_native_card_register() 398 ret = audio_card_add_pcm_dev(card, pcm_dev); in audio_native_card_register() 404 card->pcm_str_num++; in audio_native_card_register() [all …]
|
/AliOS-Things-master/components/a2sa/include/ |
A D | sound_mixer.h | 43 int card; /**< 声卡ID */ member 58 int aos_mixer_open(aos_mixer_t **mixer, int card);
|
A D | sound_pcm.h | 129 int card; /*< pcm stream 所属的card id */ member 156 int card; /*< 当前声卡ID */ member 173 int aos_device_name_hint(int card, void *hints);
|
/AliOS-Things-master/components/ai_agent/ |
A D | README.md | 271 Recognize identity card face side result: 274 card location: x0: 1126563840, y0: 1126563840 275 card location: x1: 0, y1: 0 276 card location: x2: 0, y2: 0 277 card location: x3: 0, y3: 0 291 Recognize identity card back side result: 307 Recognize bank card result: 309 card number: 6212262315007683105
|
/AliOS-Things-master/components/amp_adapter/include/ |
A D | aos_pcm.h | 32 unsigned char card:2; member
|
/AliOS-Things-master/components/uvoice/internal/ |
A D | uvoice_audio.h | 85 uint8_t card:2; member
|
/AliOS-Things-master/components/SDL2/docs/ |
A D | README-windows.md | 11 a graphic card paired with a relatively recent (as of November of 2013) driver
|
A D | README-android.md | 275 You can see the files on the SD card with a shell command:
|