Lines Matching refs:pDownmixer
261 downmix_object_t *pDownmixer; in Downmix_Process() local
275 pDownmixer = (downmix_object_t*) &pDwmModule->context; in Downmix_Process()
277 if (pDownmixer->state == DOWNMIX_STATE_UNINITIALIZED) { in Downmix_Process()
280 } else if (pDownmixer->state == DOWNMIX_STATE_INITIALIZED) { in Downmix_Process()
293 switch(pDownmixer->type) { in Downmix_Process()
300 pSrc += pDownmixer->input_channel_count; in Downmix_Process()
308 pSrc += pDownmixer->input_channel_count; in Downmix_Process()
360 downmix_object_t *pDownmixer; in Downmix_Command() local
367 pDownmixer = (downmix_object_t*) &pDwmModule->context; in Downmix_Command()
389 Downmix_Reset(pDownmixer, false); in Downmix_Command()
404 rep->status = Downmix_getParameter(pDownmixer, *(int32_t *)rep->data, &rep->vsize, in Downmix_Command()
417 *(int *)pReplyData = Downmix_setParameter(pDownmixer, *(int32_t *)cmd->data, in Downmix_Command()
435 if (pDownmixer->state != DOWNMIX_STATE_INITIALIZED) { in Downmix_Command()
438 pDownmixer->state = DOWNMIX_STATE_ACTIVE; in Downmix_Command()
447 if (pDownmixer->state != DOWNMIX_STATE_ACTIVE) { in Downmix_Command()
450 pDownmixer->state = DOWNMIX_STATE_INITIALIZED; in Downmix_Command()
607 downmix_object_t *pDownmixer = &pDwmModule->context; in Downmix_Configure() local
623 pDownmixer->type = DOWNMIX_TYPE_FOLD; in Downmix_Configure()
624 pDownmixer->apply_volume_correction = false; in Downmix_Configure()
625 pDownmixer->input_channel_count = 8; // matches default input of AUDIO_CHANNEL_OUT_7POINT1 in Downmix_Configure()
632 pDownmixer->input_channel_count = in Downmix_Configure()
636 Downmix_Reset(pDownmixer, init); in Downmix_Configure()
662 int Downmix_Reset(downmix_object_t *pDownmixer __unused, bool init __unused) { in Downmix_Reset()
689 int Downmix_setParameter(downmix_object_t *pDownmixer, int32_t param, uint32_t size, void *pValue) { in Downmix_setParameter() argument
693 pDownmixer, param, *(int16_t *)pValue, *(int32_t *)pValue); in Downmix_setParameter()
709 pDownmixer->type = (downmix_type_t) value16; in Downmix_setParameter()
745 int Downmix_getParameter(downmix_object_t *pDownmixer, int32_t param, uint32_t *pSize, void *pValue… in Downmix_getParameter() argument
756 *pValue16 = (int16_t) pDownmixer->type; in Downmix_getParameter()