Lines Matching refs:pDownmixer
75 static int Downmix_Reset(downmix_object_t *pDownmixer, bool init);
77 downmix_object_t *pDownmixer, int32_t param, uint32_t size, void *pValue);
79 downmix_object_t *pDownmixer, int32_t param, uint32_t *pSize, void *pValue);
317 downmix_object_t *pDownmixer; in Downmix_Process() local
331 pDownmixer = (downmix_object_t*) &pDwmModule->context; in Downmix_Process()
333 if (pDownmixer->state == DOWNMIX_STATE_UNINITIALIZED) { in Downmix_Process()
336 } else if (pDownmixer->state == DOWNMIX_STATE_INITIALIZED) { in Downmix_Process()
349 switch(pDownmixer->type) { in Downmix_Process()
356 pSrc += pDownmixer->input_channel_count; in Downmix_Process()
364 pSrc += pDownmixer->input_channel_count; in Downmix_Process()
417 downmix_object_t *pDownmixer; in Downmix_Command() local
423 pDownmixer = (downmix_object_t*) &pDwmModule->context; in Downmix_Command()
445 Downmix_Reset(pDownmixer, false); in Downmix_Command()
460 rep->status = Downmix_getParameter(pDownmixer, *(int32_t *)rep->data, &rep->vsize, in Downmix_Command()
477 *(int *)pReplyData = Downmix_setParameter(pDownmixer, *(int32_t *)cmd->data, in Downmix_Command()
496 if (pDownmixer->state != DOWNMIX_STATE_INITIALIZED) { in Downmix_Command()
499 pDownmixer->state = DOWNMIX_STATE_ACTIVE; in Downmix_Command()
508 if (pDownmixer->state != DOWNMIX_STATE_ACTIVE) { in Downmix_Command()
511 pDownmixer->state = DOWNMIX_STATE_INITIALIZED; in Downmix_Command()
667 downmix_object_t *pDownmixer = &pDwmModule->context; in Downmix_Configure() local
683 pDownmixer->type = DOWNMIX_TYPE_FOLD; in Downmix_Configure()
684 pDownmixer->apply_volume_correction = false; in Downmix_Configure()
685 pDownmixer->input_channel_count = 8; // matches default input of AUDIO_CHANNEL_OUT_7POINT1 in Downmix_Configure()
693 pDownmixer->input_channel_count = in Downmix_Configure()
697 Downmix_Reset(pDownmixer, init); in Downmix_Configure()
751 downmix_object_t *pDownmixer, int32_t param, uint32_t size, void *pValue) { in Downmix_setParameter() argument
755 pDownmixer, param, *(int16_t *)pValue, *(int32_t *)pValue); in Downmix_setParameter()
771 pDownmixer->type = (downmix_type_t) value16; in Downmix_setParameter()
808 downmix_object_t *pDownmixer, int32_t param, uint32_t *pSize, void *pValue) { in Downmix_getParameter() argument
819 *pValue16 = (int16_t) pDownmixer->type; in Downmix_getParameter()