Home
last modified time | relevance | path

Searched refs:cJsonObj (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/audio/hal/pathselect/src/
H A Daudio_pathselect.c281 int32_t tpins, struct AudioHwRenderParam *renderParam, cJSON *cJsonObj, const char *deviceType, int32_t value) in SetMatchRenderDevicePath()
283 if (cJsonObj == NULL || renderParam == NULL) { in SetMatchRenderDevicePath()
287 if (strcasecmp(cJsonObj->string, deviceType) == 0) { in SetMatchRenderDevicePath()
288 int32_t ret = SetRenderPathValue(tpins, cJsonObj, renderParam, value); in SetMatchRenderDevicePath()
297 static int32_t SetMatchRenderDefaultDevicePath(struct AudioHwRenderParam *renderParam, cJSON *cJsonObj) in SetMatchRenderDefaultDevicePath() argument
300 if (cJsonObj == NULL || renderParam == NULL) { in SetMatchRenderDefaultDevicePath()
310 if (strcasecmp(deviceType, cJsonObj->string) == 0) { in SetMatchRenderDefaultDevicePath()
311 ret = SetRenderPathDefaultValue(cJsonObj, renderParam); in SetMatchRenderDefaultDevicePath()
323 int32_t tpins, struct AudioHwRenderParam *renderParam, cJSON *cJsonObj, int32_t value) in SetMatchRenderOtherDevicePath()
326 if (cJsonObj in SetMatchRenderOtherDevicePath()
280 SetMatchRenderDevicePath( int32_t tpins, struct AudioHwRenderParam *renderParam, cJSON *cJsonObj, const char *deviceType, int32_t value) SetMatchRenderDevicePath() argument
322 SetMatchRenderOtherDevicePath( int32_t tpins, struct AudioHwRenderParam *renderParam, cJSON *cJsonObj, int32_t value) SetMatchRenderOtherDevicePath() argument
342 AudioRenderParseDevice(struct AudioHwRenderParam *renderParam, cJSON *cJsonObj) AudioRenderParseDevice() argument
511 SetMatchCaptureDevicePath( struct AudioHwCaptureParam *captureParam, cJSON *cJsonObj, int32_t tpins, char *deviceType, int32_t value) SetMatchCaptureDevicePath() argument
528 SetMatchCaptureDefaultDevicePath(struct AudioHwCaptureParam *captureParam, cJSON *cJsonObj) SetMatchCaptureDefaultDevicePath() argument
555 SetMatchCaptureOtherDevicePath( struct AudioHwCaptureParam *captureParam, cJSON *cJsonObj, int32_t tpins, int32_t value) SetMatchCaptureOtherDevicePath() argument
576 AudioCaptureParseDevice(struct AudioHwCaptureParam *captureParam, cJSON *cJsonObj) AudioCaptureParseDevice() argument
[all...]
/drivers/peripheral/audio/effect/config/src/
H A Dparse_effect_config.c94 cJSON *cJsonObj = cJSON_Parse(pJsonStr); in GetAudioEffectConfigToJsonObj() local
95 if (cJsonObj == NULL) { in GetAudioEffectConfigToJsonObj()
101 return cJsonObj; in GetAudioEffectConfigToJsonObj()
217 static int32_t AudioEffectGetEffectCfgDescs(cJSON *cJsonObj, const char *item, struct ConfigDescriptor *cfgDesc) in AudioEffectGetEffectCfgDescs() argument
226 if (cJsonObj == NULL || item == NULL || cfgDesc == NULL) { in AudioEffectGetEffectCfgDescs()
230 cJSON *effectsObj = cJSON_GetObjectItem(cJsonObj, item); in AudioEffectGetEffectCfgDescs()
305 static int32_t AudioEffectGetLibraryCfgDescs(cJSON *cJsonObj, const char *item, struct ConfigDescriptor *cfgDesc) in AudioEffectGetLibraryCfgDescs() argument
313 if (cJsonObj == NULL || item == NULL || cfgDesc == NULL) { in AudioEffectGetLibraryCfgDescs()
317 cJSON *libsObj = cJSON_GetObjectItem(cJsonObj, item); in AudioEffectGetLibraryCfgDescs()
383 cJSON *cJsonObj in AudioEffectGetConfigDescriptor() local
[all...]
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.cpp237 static int32_t AudioAdaptersGetArraySize(const cJSON *cJsonObj, int *size) in AudioAdaptersGetArraySize() argument
241 if (cJsonObj == NULL || size == NULL) { in AudioAdaptersGetArraySize()
248 adapterArraySize = cJSON_GetArraySize(cJsonObj); in AudioAdaptersGetArraySize()
475 cJSON *cJsonObj = cJSON_Parse(pJsonStr); in AudioAdaptersGetConfigToJsonObj() local
476 if (cJsonObj == NULL) { in AudioAdaptersGetConfigToJsonObj()
481 cJSON *adapterNum = cJSON_GetObjectItem(cJsonObj, "adapterNum"); in AudioAdaptersGetConfigToJsonObj()
483 cJSON_Delete(cJsonObj); in AudioAdaptersGetConfigToJsonObj()
489 cJSON_Delete(cJsonObj); in AudioAdaptersGetConfigToJsonObj()
492 return cJsonObj; in AudioAdaptersGetConfigToJsonObj()
635 cJSON *cJsonObj in AudioAdaptersForUser() local
[all...]

Completed in 4 milliseconds