Lines Matching refs:pCmdData
280 void *pCmdData, uint32_t *replySize, void *pReplyData) {
305 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
310 (effect_config_t *)pCmdData, false);
316 Reverb_getConfig(pRvbModule, (effect_config_t *) pCmdData);
322 ALOGV("Reverb_Command EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",pCmdData, *replySize, pReplyData);
324 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
329 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t));
336 ALOGV("Reverb_Command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, pReplyData %p",
337 cmdSize, pCmdData, *replySize, pReplyData);
338 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)))
342 effect_param_t *cmd = (effect_param_t *) pCmdData;
369 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) {
372 ALOGV("Reverb_Command EFFECT_CMD_SET_DEVICE: 0x%08x", *(uint32_t *)pCmdData);
376 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) {
379 float left = (float)(*(uint32_t *)pCmdData) / (1 << 24);
380 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24);
385 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) {
388 ALOGV("Reverb_Command EFFECT_CMD_SET_AUDIO_MODE: %d", *(uint32_t *)pCmdData);