Lines Matching refs:pCmdData
509 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
531 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Downmix_Command()
536 (effect_config_t *)pCmdData, false); in Downmix_Command()
545 pCmdData, *replySize, pReplyData); in Downmix_Command()
546 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Downmix_Command()
552 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Downmix_Command()
562 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
563 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Downmix_Command()
567 effect_param_t *cmd = (effect_param_t *) pCmdData; in Downmix_Command()
611 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
615 ALOGV("Downmix_Command EFFECT_CMD_SET_DEVICE: 0x%08" PRIx32, *(uint32_t *)pCmdData); in Downmix_Command()
620 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Downmix_Command()
625 float left = (float)(*(uint32_t *)pCmdData) / (1 << 24); in Downmix_Command()
626 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24); in Downmix_Command()
632 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
635 ALOGV("Downmix_Command EFFECT_CMD_SET_AUDIO_MODE: %" PRIu32, *(uint32_t *)pCmdData); in Downmix_Command()