Searched refs:adapterNum (Results 1 – 7 of 7) sorted by relevance
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
D | audio_adapter_info_common.cpp | 195 static void AudioAdapterReleaseDescs(const struct AudioAdapterDescriptor *descs, int32_t adapterNum) in AudioAdapterReleaseDescs() argument 199 if (descs == NULL || adapterNum <= 0 || adapterNum > SUPPORT_ADAPTER_NUM_MAX) { in AudioAdapterReleaseDescs() 203 if (adapterNum > g_adapterNum) { in AudioAdapterReleaseDescs() 204 adapterNum = g_adapterNum; in AudioAdapterReleaseDescs() 207 while (adapterIdx < adapterNum) { in AudioAdapterReleaseDescs() 475 cJSON *adapterNum = cJSON_GetObjectItem(cJsonObj, "adapterNum"); in AudioAdaptersGetConfigToJsonObj() local 476 if (adapterNum == NULL) { in AudioAdaptersGetConfigToJsonObj() 480 g_adapterNum = adapterNum->valueint; in AudioAdaptersGetConfigToJsonObj() 490 int32_t adapterNum, const cJSON *adaptersObj) in AudioAdaptersSetAdapter() argument 496 adapterNum <= 0 || adapterNum > SUPPORT_ADAPTER_NUM_MAX) { in AudioAdaptersSetAdapter() [all …]
|
/drivers/peripheral/audio/hal/hdi_passthrough/src/ |
D | audio_adapter_info_common.c | 100 void AudioAdapterReleaseDescs(const struct AudioAdapterDescriptor *descs, int32_t adapterNum) in AudioAdapterReleaseDescs() argument 104 if (descs == NULL || adapterNum <= 0 || adapterNum > SUPPORT_ADAPTER_NUM_MAX) { in AudioAdapterReleaseDescs() 109 if (adapterNum > g_adapterNum) { in AudioAdapterReleaseDescs() 110 adapterNum = g_adapterNum; in AudioAdapterReleaseDescs() 113 while (adapterIdx < adapterNum) { in AudioAdapterReleaseDescs()
|
/drivers/peripheral/audio/hal/hdi_passthrough/include/ |
D | audio_adapter_info_common.h | 81 void AudioAdapterReleaseDescs(const struct AudioAdapterDescriptor *descs, int32_t adapterNum);
|
/drivers/peripheral/audio/test/sample/ |
D | idl_capture.c | 620 uint32_t adapterNum = MAX_AUDIO_ADAPTER_DESC; in GetManagerAndLoadAdapter() local 639 int32_t ret = audioManager->GetAllAdapters(audioManager, captureDescs, &adapterNum); in GetManagerAndLoadAdapter() 640 if (ret < 0 || adapterNum == 0) { in GetManagerAndLoadAdapter() 645 if (SelectAudioCard(captureDescs, adapterNum, &adapterIndex) != HDF_SUCCESS) { in GetManagerAndLoadAdapter()
|
D | idl_render.c | 654 uint32_t adapterNum = MAX_AUDIO_ADAPTER_DESC; in GetManagerAndLoadAdapter() local 656 int32_t ret = audioManagerIns->GetAllAdapters(audioManagerIns, descs, &adapterNum); in GetManagerAndLoadAdapter() 657 if (ret < 0 || adapterNum == 0) { in GetManagerAndLoadAdapter() 662 if (SelectAudioCard(descs, adapterNum, &adapterIndex) != HDF_SUCCESS) { in GetManagerAndLoadAdapter()
|
/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
D | audio_adapter_info_common.c | 101 …atic void AudioAdapterReleaseDescs(const struct AudioAdapterDescriptor *descs, uint32_t adapterNum) in AudioAdapterReleaseDescs() argument 110 while (adapterIdx < adapterNum) { in AudioAdapterReleaseDescs()
|
D | audio_adapter.c | 188 int adapterNum = AudioAdapterGetAdapterNum(); in AudioCheckDescPortId() local 189 if (adapterNum <= 0) { in AudioCheckDescPortId() 199 for (int index = 0; index < adapterNum; index++) { in AudioCheckDescPortId() 214 for (int index = 0; index < adapterNum; index++) { in AudioCheckDescPortId()
|