Home
last modified time | relevance | path

Searched refs:cardName (Results 1 – 7 of 7) sorted by relevance

/drivers/peripheral/audio/supportlibs/alsa_adapter/src/
Dalsa_lib_common.c89 static struct AudioCardInfo *AddCardIns(const char *cardName) in AddCardIns() argument
94 if (cardName == NULL || strlen(cardName) == 0) { in AddCardIns()
107 … ret = strncpy_s(g_audioCardIns[i].cardName, MAX_CARD_NAME_LEN + 1, cardName, strlen(cardName)); in AddCardIns()
121 static struct AudioCardInfo *FindCardIns(const char *cardName) in FindCardIns() argument
125 if (cardName == NULL || strlen(cardName) == 0) { in FindCardIns()
136 if (strcmp(g_audioCardIns[i].cardName, cardName) == 0) { in FindCardIns()
144 static int32_t AudioAddCardIns(const char *cardName) in AudioAddCardIns() argument
148 if (cardName == NULL) { in AudioAddCardIns()
153 cardInfo = FindCardIns(cardName); in AudioAddCardIns()
155 cardInfo = AddCardIns(cardName); in AudioAddCardIns()
[all …]
Dalsa_lib_capture.c1225 (void)memset_s(cardIns->cardName, MAX_CARD_NAME_LEN + 1, 0, MAX_CARD_NAME_LEN + 1); in AudioOutputCaptureClose()
1375 const char *cardName = handleData->captureMode.hwInfo.adapterName; in AudioOutputCaptureGetMmapPosition() local
1376 cardIns = GetCardIns(cardName); in AudioOutputCaptureGetMmapPosition()
Dalsa_lib_render.c1233 (void)memset_s(alsaCardIns->cardName, MAX_CARD_NAME_LEN + 1, 0, MAX_CARD_NAME_LEN + 1); in AudioOutputRenderClose()
/drivers/peripheral/audio/supportlibs/alsa_adapter/include/
Dalsa_lib_common.h62 char cardName[CARD_ID_LEN_MAX]; /* adapter name */ member
108 char cardName[MAX_CARD_NAME_LEN + 1]; member
124 struct AudioCardInfo *GetCardIns(const char *cardName);
/drivers/peripheral/audio/supportlibs/adm_adapter/include/
Daudio_interface_lib_mixer.h83 char cardName[AUDIO_CARD_SRV_NAME_LEN]; member
/drivers/peripheral/audio/test/audio_utils/audio_mixer/
Daudio_mixer.c1206 ret = GetSndCardType(clist[i].cardName, ctype, AUDIO_BASE_LEN); in ShowAllAdapters()
1210 printf("card %i: %s [%s], device 0\n", clist[i].index, ctype, clist[i].cardName); in ShowAllAdapters()
1264 DEBUG_LOG("I found this sound card. [card%i: %s]\n", card, clist[i].cardName); in FindSpecificCardName()
1265 return clist[i].cardName; in FindSpecificCardName()
/drivers/peripheral/audio/supportlibs/adm_adapter/src/
Daudio_interface_lib_common.c719 ret = memcpy_s(clist[i].cardName, AUDIO_CARD_SRV_NAME_LEN, sndName, strlen(sndName) + 1); in AudioFillAllAdapters()