omx_symbianoutputstreamsink_component.h File Reference

#include <OMX_Types.h>
#include <OMX_Component.h>
#include <OMX_Core.h>
#include <OMX_Audio.h>
#include <pthread.h>
#include <omx_base_sink.h>

Go to the source code of this file.

Defines

#define MAX_NUM_OF_symbianoutputstreamsink_component_INSTANCES   1
#define omx_symbianoutputstreamsink_component_PortType_FIELDS
#define omx_symbianoutputstreamsink_component_PrivateType_FIELDS   omx_base_sink_PrivateType_FIELDS

Functions

OMX_ERRORTYPE omx_symbianoutputstreamsink_component_Constructor (OMX_COMPONENTTYPE *openmaxStandComp, OMX_STRING cComponentName)
OMX_ERRORTYPE omx_symbianoutputstreamsink_component_Destructor (OMX_COMPONENTTYPE *openmaxStandComp)
void omx_symbianoutputstreamsink_component_BufferMgmtCallback (OMX_COMPONENTTYPE *openmaxStandComp, OMX_BUFFERHEADERTYPE *inputbuffer)
OMX_ERRORTYPE omx_symbianoutputstreamsink_component_SetConfig (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_INDEXTYPE nIndex, OMX_IN OMX_PTR pComponentConfigStructure)
OMX_ERRORTYPE omx_symbianoutputstreamsink_component_GetParameter (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_INDEXTYPE nParamIndex, OMX_INOUT OMX_PTR ComponentParameterStructure)
OMX_ERRORTYPE omx_symbianoutputstreamsink_component_SetParameter (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_INDEXTYPE nParamIndex, OMX_IN OMX_PTR ComponentParameterStructure)
OMX_ERRORTYPE omx_symbianoutputstreamsink_component_GetConfig (OMX_IN OMX_HANDLETYPE hComponent, OMX_IN OMX_INDEXTYPE nIndex, OMX_INOUT OMX_PTR pComponentConfigStructure)
OMX_ERRORTYPE omx_symbianoutputstreamsink_component_Init (OMX_COMPONENTTYPE *openmaxStandComp)
OMX_ERRORTYPE omx_symbianoutputstreamsink_component_DomainCheck (OMX_PARAM_PORTDEFINITIONTYPE pDef)


Detailed Description

OpenMAX Symbian output stream sink component. This component is an audio sink that uses Symbian MMF output stream class.

Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file omx_symbianoutputstreamsink_component.h.


Define Documentation

#define MAX_NUM_OF_symbianoutputstreamsink_component_INSTANCES   1

Maximum number of base_component component instances

Definition at line 40 of file omx_symbianoutputstreamsink_component.h.

#define omx_symbianoutputstreamsink_component_PortType_FIELDS

Value:

omx_base_PortType_FIELDS \ \
    OMX_AUDIO_PARAM_PORTFORMATTYPE sAudioParam; \ \
    OMX_AUDIO_PARAM_PCMMODETYPE omxAudioParamPcmMode;   \   \
    OMX_AUDIO_CONFIG_VOLUMETYPE omxAudioConfigVolume;   \   \
    OMX_AUDIO_CONFIG_CHANNELVOLUMETYPE omxAudioChannelVolume;   \   \
    OMX_AUDIO_CONFIG_CHANNELMUTETYPE omxAudioChannelMute;   \   \
    OMX_AUDIO_CONFIG_MUTETYPE omxAudioMute; \   \
    char AudioPCMConfigured;    \   \
    void* output_handle;    \   \
    OMX_U32 rate;
symbianoutputstreamsinkport component port structure.

Definition at line 45 of file omx_symbianoutputstreamsink_component.h.

#define omx_symbianoutputstreamsink_component_PrivateType_FIELDS   omx_base_sink_PrivateType_FIELDS

symbianoutputstreamsinkport component private structure. see the define above

Definition at line 70 of file omx_symbianoutputstreamsink_component.h.


Function Documentation

void omx_symbianoutputstreamsink_component_BufferMgmtCallback ( OMX_COMPONENTTYPE openmaxStandComp,
OMX_BUFFERHEADERTYPE inputbuffer 
)

OMX_ERRORTYPE omx_symbianoutputstreamsink_component_Constructor ( OMX_COMPONENTTYPE openmaxStandComp,
OMX_STRING  cComponentName 
)

OMX_ERRORTYPE omx_symbianoutputstreamsink_component_Destructor ( OMX_COMPONENTTYPE openmaxStandComp  ) 

OMX_ERRORTYPE omx_symbianoutputstreamsink_component_DomainCheck ( OMX_PARAM_PORTDEFINITIONTYPE  pDef  ) 

Check Domain of the Tunneled Component

OMX_ERRORTYPE omx_symbianoutputstreamsink_component_GetConfig ( OMX_IN OMX_HANDLETYPE  hComponent,
OMX_IN OMX_INDEXTYPE  nIndex,
OMX_INOUT OMX_PTR  pComponentConfigStructure 
)

OMX_ERRORTYPE omx_symbianoutputstreamsink_component_GetParameter ( OMX_IN OMX_HANDLETYPE  hComponent,
OMX_IN OMX_INDEXTYPE  nParamIndex,
OMX_INOUT OMX_PTR  ComponentParameterStructure 
)

OMX_ERRORTYPE omx_symbianoutputstreamsink_component_Init ( OMX_COMPONENTTYPE openmaxStandComp  ) 

OMX_ERRORTYPE omx_symbianoutputstreamsink_component_SetConfig ( OMX_IN OMX_HANDLETYPE  hComponent,
OMX_IN OMX_INDEXTYPE  nIndex,
OMX_IN OMX_PTR  pComponentConfigStructure 
)

OMX_ERRORTYPE omx_symbianoutputstreamsink_component_SetParameter ( OMX_IN OMX_HANDLETYPE  hComponent,
OMX_IN OMX_INDEXTYPE  nParamIndex,
OMX_IN OMX_PTR  ComponentParameterStructure 
)


Generated for OpenMAX Bellagio rel. 0.9.0 by  doxygen 1.5.1
SourceForge.net Logo