Home
last modified time | relevance | path

Searched refs:card (Results 1 – 14 of 14) sorted by relevance

/AliOS-Things-master/components/a2sa/src/driver/core/
A Daudio_card.c50 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 Dcontrol.c217 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 Dsound_mixer.c16 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 Dsound_pcm.c14 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 Daudio_card.h28 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 Dcontrol.h63 int card; /* card number */ member
/AliOS-Things-master/components/a2sa/src/driver/platform/rtos/
A Daudio_rtos.c361 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 Dsound_mixer.h43 int card; /**< 声卡ID */ member
58 int aos_mixer_open(aos_mixer_t **mixer, int card);
A Dsound_pcm.h129 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 DREADME.md271 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 Daos_pcm.h32 unsigned char card:2; member
/AliOS-Things-master/components/uvoice/internal/
A Duvoice_audio.h85 uint8_t card:2; member
/AliOS-Things-master/components/SDL2/docs/
A DREADME-windows.md11 a graphic card paired with a relatively recent (as of November of 2013) driver
A DREADME-android.md275 You can see the files on the SD card with a shell command:

Completed in 15 milliseconds