Lines Matching refs:pCmdData
507 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Downmix_Command() argument
529 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Downmix_Command()
534 (effect_config_t *)pCmdData, false); in Downmix_Command()
543 pCmdData, *replySize, pReplyData); in Downmix_Command()
544 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Downmix_Command()
550 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Downmix_Command()
560 ", pReplyData %p", cmdSize, pCmdData, *replySize, pReplyData); in Downmix_Command()
561 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Downmix_Command()
565 effect_param_t *cmd = (effect_param_t *) pCmdData; in Downmix_Command()
609 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
613 ALOGV("Downmix_Command EFFECT_CMD_SET_DEVICE: 0x%08" PRIx32, *(uint32_t *)pCmdData); in Downmix_Command()
618 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Downmix_Command()
623 float left = (float)(*(uint32_t *)pCmdData) / (1 << 24); in Downmix_Command()
624 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24); in Downmix_Command()
630 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Downmix_Command()
633 ALOGV("Downmix_Command EFFECT_CMD_SET_AUDIO_MODE: %" PRIu32, *(uint32_t *)pCmdData); in Downmix_Command()