Lines Matching refs:pCmdData
283 void *pCmdData, uint32_t *replySize, void *pReplyData) { in Reverb_Command() argument
308 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t) in Reverb_Command()
313 (effect_config_t *)pCmdData, false); in Reverb_Command()
319 Reverb_getConfig(pRvbModule, (effect_config_t *) pCmdData); in Reverb_Command()
325 …ommand EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",pCmdData, *replySize, pRep… in Reverb_Command()
327 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) || in Reverb_Command()
332 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t)); in Reverb_Command()
340 cmdSize, pCmdData, *replySize, pReplyData); in Reverb_Command()
341 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t))) in Reverb_Command()
345 effect_param_t *cmd = (effect_param_t *) pCmdData; in Reverb_Command()
372 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
375 ALOGV("Reverb_Command EFFECT_CMD_SET_DEVICE: 0x%08x", *(uint32_t *)pCmdData); in Reverb_Command()
379 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) { in Reverb_Command()
382 float left = (float)(*(uint32_t *)pCmdData) / (1 << 24); in Reverb_Command()
383 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24); in Reverb_Command()
388 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) { in Reverb_Command()
391 ALOGV("Reverb_Command EFFECT_CMD_SET_AUDIO_MODE: %d", *(uint32_t *)pCmdData); in Reverb_Command()