Lines Matching refs:pCmdData
297 void *pCmdData, uint32_t *replySize, void *pReplyData) {
322 if (pCmdData == NULL || cmdSize != sizeof(effect_config_t)
327 (effect_config_t *)pCmdData, false);
333 LOGV("Reverb_Command EFFECT_CMD_GET_PARAM pCmdData %p, *replySize %d, pReplyData: %p",pCmdData, *replySize, pReplyData);
335 if (pCmdData == NULL || cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)) ||
340 memcpy(pReplyData, pCmdData, sizeof(effect_param_t) + sizeof(int32_t));
347 LOGV("Reverb_Command EFFECT_CMD_SET_PARAM cmdSize %d pCmdData %p, *replySize %d, pReplyData %p",
348 cmdSize, pCmdData, *replySize, pReplyData);
349 if (pCmdData == NULL || (cmdSize < (int)(sizeof(effect_param_t) + sizeof(int32_t)))
353 effect_param_t *cmd = (effect_param_t *) pCmdData;
380 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) {
383 LOGV("Reverb_Command EFFECT_CMD_SET_DEVICE: 0x%08x", *(uint32_t *)pCmdData);
387 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t) * 2) {
390 float left = (float)(*(uint32_t *)pCmdData) / (1 << 24);
391 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24);
396 if (pCmdData == NULL || cmdSize != (int)sizeof(uint32_t)) {
399 LOGV("Reverb_Command EFFECT_CMD_SET_AUDIO_MODE: %d", *(uint32_t *)pCmdData);