#include <stdlib.h>#include <stdio.h>#include <string.h>#include <assert.h>#include "omxcore.h"#include "omx_symbianoutputstreamsink_component.h"#include "omx_symbian_output_stream_wrapper.h"Go to the source code of this file.
| void omx_symbianoutputstreamsink_component_BufferMgmtCallback | ( | OMX_COMPONENTTYPE * | openmaxStandComp, | |
| OMX_BUFFERHEADERTYPE * | inputbuffer | |||
| ) |
This function plays the input buffer. When fully consumed it returns.
Definition at line 169 of file omx_symbianoutputstreamsink_component.c.
References DEB_LEV_FULL_SEQ, DEBUG, OMX_BUFFERHEADERTYPE::nFilledLen, OMX_BASE_SINK_INPUTPORT_INDEX, open_output_stream(), OMX_BUFFERHEADERTYPE::pBuffer, OMX_COMPONENTTYPE::pComponentPrivate, and write_audio_data().
| OMX_ERRORTYPE omx_symbianoutputstreamsink_component_Constructor | ( | OMX_COMPONENTTYPE * | openmaxStandComp, | |
| OMX_STRING | cComponentName | |||
| ) |
Definition at line 36 of file omx_symbianoutputstreamsink_component.c.
References err, omx_base_sink_Constructor(), OMX_ErrorInsufficientResources, OMX_ErrorNone, and OMX_COMPONENTTYPE::pComponentPrivate.
| OMX_ERRORTYPE omx_symbianoutputstreamsink_component_Destructor | ( | OMX_COMPONENTTYPE * | openmaxStandComp | ) |
The Destructor
Definition at line 151 of file omx_symbianoutputstreamsink_component.c.
References close_output_stream(), omx_base_sink_Destructor(), OMX_BASE_SINK_INPUTPORT_INDEX, and OMX_COMPONENTTYPE::pComponentPrivate.
| OMX_ERRORTYPE omx_symbianoutputstreamsink_component_GetConfig | ( | OMX_IN OMX_HANDLETYPE | hComponent, | |
| OMX_IN OMX_INDEXTYPE | nIndex, | |||
| OMX_INOUT OMX_PTR | pComponentConfigStructure | |||
| ) |
Definition at line 205 of file omx_symbianoutputstreamsink_component.c.
References omx_base_component_GetConfig().
| OMX_ERRORTYPE omx_symbianoutputstreamsink_component_GetParameter | ( | OMX_IN OMX_HANDLETYPE | hComponent, | |
| OMX_IN OMX_INDEXTYPE | nParamIndex, | |||
| OMX_INOUT OMX_PTR | ComponentParameterStructure | |||
| ) |
Definition at line 299 of file omx_symbianoutputstreamsink_component.c.
References DEB_LEV_SIMPLE_SEQ, DEBUG, omx_base_component_GetParameter(), OMX_BASE_SINK_INPUTPORT_INDEX, OMX_ErrorBadParameter, OMX_ErrorBadPortIndex, OMX_ErrorNone, OMX_IndexParamAudioInit, OMX_IndexParamAudioPcm, OMX_IndexParamAudioPortFormat, OMX_COMPONENTTYPE::pComponentPrivate, and setHeader().
| OMX_ERRORTYPE omx_symbianoutputstreamsink_component_SetConfig | ( | OMX_IN OMX_HANDLETYPE | hComponent, | |
| OMX_IN OMX_INDEXTYPE | nIndex, | |||
| OMX_IN OMX_PTR | pComponentConfigStructure | |||
| ) |
Definition at line 196 of file omx_symbianoutputstreamsink_component.c.
References omx_base_component_SetConfig().
| OMX_ERRORTYPE omx_symbianoutputstreamsink_component_SetParameter | ( | OMX_IN OMX_HANDLETYPE | hComponent, | |
| OMX_IN OMX_INDEXTYPE | nParamIndex, | |||
| OMX_IN OMX_PTR | ComponentParameterStructure | |||
| ) |
Definition at line 215 of file omx_symbianoutputstreamsink_component.c.
References checkHeader(), DEB_LEV_ERR, DEB_LEV_SIMPLE_SEQ, DEBUG, err, OMX_AUDIO_PARAM_PORTFORMATTYPE::nPortIndex, OMX_AUDIO_PARAM_PCMMODETYPE::nPortIndex, OMX_AUDIO_PARAM_MP3TYPE::nPortIndex, omx_base_component_ParameterSanityCheck(), omx_base_component_SetParameter(), OMX_BASE_SINK_INPUTPORT_INDEX, OMX_ErrorBadParameter, OMX_ErrorBadPortIndex, OMX_ErrorNone, OMX_IndexParamAudioInit, OMX_IndexParamAudioMp3, OMX_IndexParamAudioPcm, OMX_IndexParamAudioPortFormat, and OMX_COMPONENTTYPE::pComponentPrivate.
1.5.1