Lines Matching refs:pCmdData
371 void *pCmdData, uint32_t *replySize, void *pReplyData) {
394 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
399 (effect_config_t *)pCmdData, false);
407 ALOGV("Downmix_Command EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",
408 pCmdData, *replySize, pReplyData);
409 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
415 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t));
424 ALOGV("Downmix_Command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, " \
425 "pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData);
426 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)))
430 effect_param_t *cmd = (effect_param_t *) pCmdData;
470 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) {
474 ALOGV("Downmix_Command EFFECT_CMD_SET_DEVICE: 0x%08x", *(uint32_t *)pCmdData);
479 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) {
484 float left = (float)(*(uint32_t *)pCmdData) / (1 << 24);
485 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24);
491 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) {
494 ALOGV("Downmix_Command EFFECT_CMD_SET_AUDIO_MODE: %d", *(uint32_t *)pCmdData);