27#ifndef _OMX_AUDIO_MIXER_COMPONENT_H_
28#define _OMX_AUDIO_MIXER_COMPONENT_H_
37#define MIXER_COMP_NAME "OMX.st.audio.mixer"
38#define MIXER_COMP_ROLE "audio.mixer"
39#define MAX_MIXER_COMPONENTS 5
41#define MIXER_QUALITY_LEVELS 1
42static int mixerQualityLevels []={50, 60000, 10, 40000};
50#define omx_audio_mixer_component_PortType_FIELDS omx_base_audio_PortType_FIELDS \
52 OMX_AUDIO_PARAM_PCMMODETYPE pAudioPcmMode; \
56 OMX_AUDIO_CONFIG_VOLUMETYPE sVolume; \
58 OMX_AUDIO_CONFIG_CHANNELVOLUMETYPE sChannelVolume[MAX_CHANNEL];
59ENDCLASS(omx_audio_mixer_component_PortType)
65#define omx_audio_mixer_component_PrivateType_FIELDS omx_base_filter_PrivateType_FIELDS \
67ENDCLASS(omx_audio_mixer_component_PrivateType)
81 OMX_PTR ComponentParameterStructure);
86 OMX_PTR ComponentParameterStructure);
91 OMX_PTR pComponentConfigStructure);
96 OMX_PTR pComponentConfigStructure);
void omx_audio_mixer_component_BufferMgmtCallback(OMX_COMPONENTTYPE *openmaxStandComp, OMX_BUFFERHEADERTYPE *inputbuffer, OMX_BUFFERHEADERTYPE *outputbuffer)
OMX_ERRORTYPE omx_audio_mixer_component_GetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
OMX_ERRORTYPE omx_audio_mixer_component_SetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
OMX_ERRORTYPE omx_audio_mixer_component_GetConfig(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nIndex, OMX_PTR pComponentConfigStructure)
OMX_ERRORTYPE omx_audio_mixer_component_Constructor(OMX_COMPONENTTYPE *openmaxStandComp, OMX_STRING cComponentName)
OMX_ERRORTYPE omx_audio_mixer_component_SetConfig(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nIndex, OMX_PTR pComponentConfigStructure)
OMX_ERRORTYPE omx_audio_mixer_component_Destructor(OMX_COMPONENTTYPE *openmaxStandComp)
void * omx_audio_mixer_BufferMgmtFunction(void *param)
#define DERIVEDCLASS(a, b)