Home
last modified time | relevance | path

Searched refs:ctrlMgr (Results 1 – 3 of 3) sorted by relevance

/drivers/peripheral/audio/effect/model/src/
Deffect_core.c116 int32_t RegisterControllerToList(struct ControllerManager *ctrlMgr) in RegisterControllerToList() argument
119 if (ctrlMgr == NULL) { in RegisterControllerToList()
130 node->ctrlMgr = ctrlMgr; in RegisterControllerToList()
141 struct ControllerManager *ctrlMgr = NULL; in GetControllerFromList() local
153 if (getNode->ctrlMgr != NULL && getNode->ctrlMgr->effectId != NULL) { in GetControllerFromList()
154 if (strcmp(getNode->ctrlMgr->effectId, effectId) == 0) { in GetControllerFromList()
155 ctrlMgr = getNode->ctrlMgr; in GetControllerFromList()
158 return ctrlMgr; in GetControllerFromList()
Deffect_model.c121 struct ControllerManager *ctrlMgr = NULL; in EffectModelCreateEffectController() local
143 ctrlMgr = (struct ControllerManager *)OsalMemCalloc(sizeof(struct ControllerManager)); in EffectModelCreateEffectController()
144 if (ctrlMgr == NULL) { in EffectModelCreateEffectController()
149 ctrlMgr->ctrlOps = ctrlOps; in EffectModelCreateEffectController()
150 ctrlMgr->effectId = strdup(info->effectId); in EffectModelCreateEffectController()
151 ctrlMgr->ctrlImpls.EffectProcess = EffectControlEffectProcess; in EffectModelCreateEffectController()
152 ctrlMgr->ctrlImpls.SendCommand = EffectControlSendCommand; in EffectModelCreateEffectController()
153 ctrlMgr->ctrlImpls.GetEffectDescriptor = EffectGetOwnDescriptor; in EffectModelCreateEffectController()
154 ctrlMgr->ctrlImpls.EffectReverse = EffectControlEffectReverse; in EffectModelCreateEffectController()
155 *contoller = &ctrlMgr->ctrlImpls; in EffectModelCreateEffectController()
[all …]
/drivers/peripheral/audio/effect/model/include/
Deffect_core.h37 struct ControllerManager *ctrlMgr; member
46 int32_t RegisterControllerToList(struct ControllerManager *ctrlMgr);