Lines Matching refs:pDownmixer

310     downmix_object_t *pDownmixer;  in Downmix_Process()  local
324 pDownmixer = (downmix_object_t*) &pDwmModule->context; in Downmix_Process()
326 if (pDownmixer->state == DOWNMIX_STATE_UNINITIALIZED) { in Downmix_Process()
329 } else if (pDownmixer->state == DOWNMIX_STATE_INITIALIZED) { in Downmix_Process()
342 switch(pDownmixer->type) { in Downmix_Process()
349 pSrc += pDownmixer->input_channel_count; in Downmix_Process()
357 pSrc += pDownmixer->input_channel_count; in Downmix_Process()
409 downmix_object_t *pDownmixer; in Downmix_Process() local
423 pDownmixer = (downmix_object_t*) &pDwmModule->context; in Downmix_Process()
425 if (pDownmixer->state == DOWNMIX_STATE_UNINITIALIZED) { in Downmix_Process()
428 } else if (pDownmixer->state == DOWNMIX_STATE_INITIALIZED) { in Downmix_Process()
441 switch(pDownmixer->type) { in Downmix_Process()
448 pSrc += pDownmixer->input_channel_count; in Downmix_Process()
456 pSrc += pDownmixer->input_channel_count; in Downmix_Process()
510 downmix_object_t *pDownmixer; in Downmix_Command() local
516 pDownmixer = (downmix_object_t*) &pDwmModule->context; in Downmix_Command()
538 Downmix_Reset(pDownmixer, false); in Downmix_Command()
553 rep->status = Downmix_getParameter(pDownmixer, *(int32_t *)rep->data, &rep->vsize, in Downmix_Command()
570 *(int *)pReplyData = Downmix_setParameter(pDownmixer, *(int32_t *)cmd->data, in Downmix_Command()
588 if (pDownmixer->state != DOWNMIX_STATE_INITIALIZED) { in Downmix_Command()
591 pDownmixer->state = DOWNMIX_STATE_ACTIVE; in Downmix_Command()
600 if (pDownmixer->state != DOWNMIX_STATE_ACTIVE) { in Downmix_Command()
603 pDownmixer->state = DOWNMIX_STATE_INITIALIZED; in Downmix_Command()
760 downmix_object_t *pDownmixer = &pDwmModule->context; in Downmix_Configure() local
776 pDownmixer->type = DOWNMIX_TYPE_FOLD; in Downmix_Configure()
777 pDownmixer->apply_volume_correction = false; in Downmix_Configure()
778 pDownmixer->input_channel_count = 8; // matches default input of AUDIO_CHANNEL_OUT_7POINT1 in Downmix_Configure()
786 pDownmixer->input_channel_count = in Downmix_Configure()
790 Downmix_Reset(pDownmixer, init); in Downmix_Configure()
816 int Downmix_Reset(downmix_object_t *pDownmixer __unused, bool init __unused) { in Downmix_Reset()
843 int Downmix_setParameter(downmix_object_t *pDownmixer, int32_t param, uint32_t size, void *pValue) { in Downmix_setParameter() argument
847 pDownmixer, param, *(int16_t *)pValue, *(int32_t *)pValue); in Downmix_setParameter()
863 pDownmixer->type = (downmix_type_t) value16; in Downmix_setParameter()
899 int Downmix_getParameter(downmix_object_t *pDownmixer, int32_t param, uint32_t *pSize, void *pValue… in Downmix_getParameter() argument
910 *pValue16 = (int16_t) pDownmixer->type; in Downmix_getParameter()