Go to the documentation of this file.
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
42 static int mixerQualityLevels []={50, 60000, 10, 40000};
44 #define MAX_PORTS 5 // Maximum number of ports supported by the mixer. 4 input and 1 output
45 #define MAX_CHANNEL 6 // Maximum number of channels supported in a single stream 5.1
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];
59 ENDCLASS(omx_audio_mixer_component_PortType)
65 #define omx_audio_mixer_component_PrivateType_FIELDS omx_base_filter_PrivateType_FIELDS \
67 ENDCLASS(omx_audio_mixer_component_PrivateType)
81 OMX_PTR ComponentParameterStructure);
86 OMX_PTR ComponentParameterStructure);
91 OMX_PTR pComponentConfigStructure);
96 OMX_PTR pComponentConfigStructure);
OMX_ERRORTYPE omx_audio_mixer_component_SetParameter(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nParamIndex, OMX_PTR ComponentParameterStructure)
OMX_ERRORTYPE omx_audio_mixer_component_SetConfig(OMX_HANDLETYPE hComponent, OMX_INDEXTYPE nIndex, OMX_PTR pComponentConfigStructure)
void omx_audio_mixer_component_BufferMgmtCallback(OMX_COMPONENTTYPE *openmaxStandComp, OMX_BUFFERHEADERTYPE *inputbuffer, OMX_BUFFERHEADERTYPE *outputbuffer)
void * omx_audio_mixer_BufferMgmtFunction(void *param)
OMX_ERRORTYPE omx_audio_mixer_component_Destructor(OMX_COMPONENTTYPE *openmaxStandComp)
OMX_ERRORTYPE omx_audio_mixer_component_Constructor(OMX_COMPONENTTYPE *openmaxStandComp, OMX_STRING cComponentName)
#define DERIVEDCLASS(a, b)
OMX_ERRORTYPE omx_audio_mixer_component_GetParameter(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)
Generated for OpenMAX Bellagio rel. 0.9.3 by
1.5.1