<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.8"/> <title>OpenMAXBellagio: omx_volume_component.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">OpenMAXBellagio  <span id="projectnumber">0.9.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.8 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('omx__volume__component_8h.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#define-members">Macros</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">omx_volume_component.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="_o_m_x___types_8h_source.html">OMX_Types.h</a>></code><br /> <code>#include <<a class="el" href="_o_m_x___component_8h_source.html">OMX_Component.h</a>></code><br /> <code>#include <<a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>></code><br /> <code>#include <string.h></code><br /> <code>#include <<a class="el" href="omx__base__filter_8h_source.html">omx_base_filter.h</a>></code><br /> </div> <p><a href="omx__volume__component_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:acf4a2447d468585404e55069cb93f005"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#acf4a2447d468585404e55069cb93f005">VOLUME_COMP_NAME</a>   "OMX.st.volume.component"</td></tr> <tr class="separator:acf4a2447d468585404e55069cb93f005"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab4bd61ca2c1282c174b9058c15fd3763"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#ab4bd61ca2c1282c174b9058c15fd3763">VOLUME_COMP_ROLE</a>   "volume.component"</td></tr> <tr class="separator:ab4bd61ca2c1282c174b9058c15fd3763"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae0c3b4dd6b3121420f19aa385954d12d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#ae0c3b4dd6b3121420f19aa385954d12d">MAX_VOLUME_COMPONENTS</a>   10</td></tr> <tr class="separator:ae0c3b4dd6b3121420f19aa385954d12d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3c8ec326e2fdb9d0c6d59ccb72ea9868"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#a3c8ec326e2fdb9d0c6d59ccb72ea9868">VOLUME_QUALITY_LEVELS</a>   2</td></tr> <tr class="separator:a3c8ec326e2fdb9d0c6d59ccb72ea9868"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8330a557eedcf3cf07bd69364bfb5beb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#a8330a557eedcf3cf07bd69364bfb5beb">omx_volume_component_PrivateType_FIELDS</a></td></tr> <tr class="separator:a8330a557eedcf3cf07bd69364bfb5beb"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a4b12909b15766c474c6fe5dd1e50dc07"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#a4b12909b15766c474c6fe5dd1e50dc07">omx_volume_component_Constructor</a> (<a class="el" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a> *openmaxStandComp, <a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> cComponentName)</td></tr> <tr class="separator:a4b12909b15766c474c6fe5dd1e50dc07"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4308b35c37ec308a847436f695824441"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#a4308b35c37ec308a847436f695824441">omx_volume_component_Destructor</a> (<a class="el" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a> *openmaxStandComp)</td></tr> <tr class="separator:a4308b35c37ec308a847436f695824441"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afe9935635215be7dcaefe350df146b5d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#afe9935635215be7dcaefe350df146b5d">omx_volume_component_BufferMgmtCallback</a> (<a class="el" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a> *openmaxStandComp, <a class="el" href="struct_o_m_x___b_u_f_f_e_r_h_e_a_d_e_r_t_y_p_e.html">OMX_BUFFERHEADERTYPE</a> *inputbuffer, <a class="el" href="struct_o_m_x___b_u_f_f_e_r_h_e_a_d_e_r_t_y_p_e.html">OMX_BUFFERHEADERTYPE</a> *outputbuffer)</td></tr> <tr class="separator:afe9935635215be7dcaefe350df146b5d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a424704835626977141c21786e2b1491f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#a424704835626977141c21786e2b1491f">omx_volume_component_GetParameter</a> (<a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___index_8h.html#abc3b6e6cb9a9d5c14cb679ac455ea715">OMX_INDEXTYPE</a> nParamIndex, <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> ComponentParameterStructure)</td></tr> <tr class="separator:a424704835626977141c21786e2b1491f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aedc3437cf95f35c72186b6fe2ef97292"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#aedc3437cf95f35c72186b6fe2ef97292">omx_volume_component_SetParameter</a> (<a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___index_8h.html#abc3b6e6cb9a9d5c14cb679ac455ea715">OMX_INDEXTYPE</a> nParamIndex, <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> ComponentParameterStructure)</td></tr> <tr class="separator:aedc3437cf95f35c72186b6fe2ef97292"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa22039016219ec05ce34ea20ecb5b46a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#aa22039016219ec05ce34ea20ecb5b46a">omx_volume_component_GetConfig</a> (<a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___index_8h.html#abc3b6e6cb9a9d5c14cb679ac455ea715">OMX_INDEXTYPE</a> nIndex, <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pComponentConfigStructure)</td></tr> <tr class="separator:aa22039016219ec05ce34ea20ecb5b46a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0048717a4840f2ba669ea04bdff1b0c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__volume__component_8h.html#a0048717a4840f2ba669ea04bdff1b0c5">omx_volume_component_SetConfig</a> (<a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___index_8h.html#abc3b6e6cb9a9d5c14cb679ac455ea715">OMX_INDEXTYPE</a> nIndex, <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pComponentConfigStructure)</td></tr> <tr class="separator:a0048717a4840f2ba669ea04bdff1b0c5"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a class="anchor" id="ae0c3b4dd6b3121420f19aa385954d12d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define MAX_VOLUME_COMPONENTS   10</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="omx__volume__component_8h_source.html#l00037">37</a> of file <a class="el" href="omx__volume__component_8h_source.html">omx_volume_component.h</a>.</p> <p>Referenced by <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p> </div> </div> <a class="anchor" id="a8330a557eedcf3cf07bd69364bfb5beb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define omx_volume_component_PrivateType_FIELDS</td> </tr> </table> </div><div class="memdoc"> <b>Value:</b><div class="fragment"><div class="line"><a class="code" href="omx__base__filter_8h.html#ac4cc70dba92196ace0a929c4f19c19fe">omx_base_filter_PrivateType_FIELDS</a> \ \</div> <div class="line"> float gain;</div> <div class="ttc" id="omx__base__filter_8h_html_ac4cc70dba92196ace0a929c4f19c19fe"><div class="ttname"><a href="omx__base__filter_8h.html#ac4cc70dba92196ace0a929c4f19c19fe">omx_base_filter_PrivateType_FIELDS</a></div><div class="ttdeci">#define omx_base_filter_PrivateType_FIELDS</div><div class="ttdef"><b>Definition:</b> <a href="omx__base__filter_8h_source.html#l00052">omx_base_filter.h:52</a></div></div> </div><!-- fragment --><p>Twoport component private structure. see the define above </p> <p>Definition at line <a class="el" href="omx__volume__component_8h_source.html#l00045">45</a> of file <a class="el" href="omx__volume__component_8h_source.html">omx_volume_component.h</a>.</p> </div> </div> <a class="anchor" id="acf4a2447d468585404e55069cb93f005"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define VOLUME_COMP_NAME   "OMX.st.volume.component"</td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="omx__volume__component_8h.html">src/components/audio_effects/omx_volume_component.h</a></p> <p>OpenMAX volume control component. This component implements a filter that controls the volume level of the audio PCM stream.</p> <p>Copyright (C) 2007-2009 STMicroelectronics Copyright (C) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).</p> <p>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.</p> <p>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.</p> <p>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 </p> <p>Definition at line <a class="el" href="omx__volume__component_8h_source.html#l00035">35</a> of file <a class="el" href="omx__volume__component_8h_source.html">omx_volume_component.h</a>.</p> <p>Referenced by <a class="el" href="audio__effects_2library__entry__point_8c_source.html#l00048">omx_component_library_Setup()</a>, and <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p> </div> </div> <a class="anchor" id="ab4bd61ca2c1282c174b9058c15fd3763"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define VOLUME_COMP_ROLE   "volume.component"</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="omx__volume__component_8h_source.html#l00036">36</a> of file <a class="el" href="omx__volume__component_8h_source.html">omx_volume_component.h</a>.</p> <p>Referenced by <a class="el" href="audio__effects_2library__entry__point_8c_source.html#l00048">omx_component_library_Setup()</a>, <a class="el" href="omx__volume__component_8c_source.html#l00272">omx_volume_component_GetParameter()</a>, and <a class="el" href="omx__volume__component_8c_source.html#l00215">omx_volume_component_SetParameter()</a>.</p> </div> </div> <a class="anchor" id="a3c8ec326e2fdb9d0c6d59ccb72ea9868"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define VOLUME_QUALITY_LEVELS   2</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="omx__volume__component_8h_source.html#l00038">38</a> of file <a class="el" href="omx__volume__component_8h_source.html">omx_volume_component.h</a>.</p> <p>Referenced by <a class="el" href="audio__effects_2library__entry__point_8c_source.html#l00048">omx_component_library_Setup()</a>, and <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p> </div> </div> <h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="afe9935635215be7dcaefe350df146b5d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void omx_volume_component_BufferMgmtCallback </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a> * </td> <td class="paramname"><em>openmaxStandComp</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct_o_m_x___b_u_f_f_e_r_h_e_a_d_e_r_t_y_p_e.html">OMX_BUFFERHEADERTYPE</a> * </td> <td class="paramname"><em>pInputBuffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct_o_m_x___b_u_f_f_e_r_h_e_a_d_e_r_t_y_p_e.html">OMX_BUFFERHEADERTYPE</a> * </td> <td class="paramname"><em>pOutputBuffer</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>This function is used to process the input buffer and provide one output buffer </p> <p>Definition at line <a class="el" href="omx__volume__component_8c_source.html#l00145">145</a> of file <a class="el" href="omx__volume__component_8c_source.html">omx_volume_component.c</a>.</p> <p>References <a class="el" href="omx__volume__component_8c_source.html#l00033">GAIN_VALUE</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00405">OMX_BUFFERHEADERTYPE::nFilledLen</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00402">OMX_BUFFERHEADERTYPE::pBuffer</a>, and <a class="el" href="_o_m_x___component_8h_source.html#l00326">OMX_COMPONENTTYPE::pComponentPrivate</a>.</p> <p>Referenced by <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p> </div> </div> <a class="anchor" id="a4b12909b15766c474c6fe5dd1e50dc07"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> omx_volume_component_Constructor </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a> * </td> <td class="paramname"><em>openmaxStandComp</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> </td> <td class="paramname"><em>cComponentName</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Calling base filter constructor</p> <p>Allocate Ports and call port constructor.</p> <p>Domain specific section for the ports. </p> <p>Definition at line <a class="el" href="omx__volume__component_8c_source.html#l00035">35</a> of file <a class="el" href="omx__volume__component_8c_source.html">omx_volume_component.c</a>.</p> <p>References <a class="el" href="omx__base__audio__port_8c_source.html#l00051">base_audio_port_Constructor()</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00039">DEB_LEV_ERR</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00059">DEB_LEV_FUNCTION_NAME</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="omx__base__component_8h_source.html#l00056">DEFAULT_OUT_BUFFER_SIZE</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="omx__volume__component_8c_source.html#l00033">GAIN_VALUE</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00374">OMX_COMPONENTTYPE::GetConfig</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00356">OMX_COMPONENTTYPE::GetParameter</a>, <a class="el" href="omx__volume__component_8h_source.html#l00037">MAX_VOLUME_COMPONENTS</a>, <a class="el" href="omx__base__filter_8c_source.html#l00034">omx_base_filter_Constructor()</a>, <a class="el" href="omx__base__filter_8h_source.html#l00039">OMX_BASE_FILTER_INPUTPORT_INDEX</a>, <a class="el" href="omx__base__filter_8h_source.html#l00043">OMX_BASE_FILTER_OUTPUTPORT_INDEX</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00131">OMX_ErrorInsufficientResources</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00134">OMX_ErrorUndefined</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00190">OMX_FALSE</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00051">OMX_PortDomainAudio</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00191">OMX_TRUE</a>, <a class="el" href="omx__volume__component_8c_source.html#l00145">omx_volume_component_BufferMgmtCallback()</a>, <a class="el" href="omx__volume__component_8c_source.html#l00120">omx_volume_component_Destructor()</a>, <a class="el" href="omx__volume__component_8c_source.html#l00190">omx_volume_component_GetConfig()</a>, <a class="el" href="omx__volume__component_8c_source.html#l00272">omx_volume_component_GetParameter()</a>, <a class="el" href="omx__volume__component_8c_source.html#l00163">omx_volume_component_SetConfig()</a>, <a class="el" href="omx__volume__component_8c_source.html#l00215">omx_volume_component_SetParameter()</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00326">OMX_COMPONENTTYPE::pComponentPrivate</a>, <a class="el" href="omx__reference__resource__manager_8c_source.html#l00062">RM_RegisterComponent()</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00383">OMX_COMPONENTTYPE::SetConfig</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00365">OMX_COMPONENTTYPE::SetParameter</a>, <a class="el" href="omx__volume__component_8h_source.html#l00035">VOLUME_COMP_NAME</a>, and <a class="el" href="omx__volume__component_8h_source.html#l00038">VOLUME_QUALITY_LEVELS</a>.</p> <p>Referenced by <a class="el" href="audio__effects_2library__entry__point_8c_source.html#l00048">omx_component_library_Setup()</a>.</p> </div> </div> <a class="anchor" id="a4308b35c37ec308a847436f695824441"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> omx_volume_component_Destructor </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a> * </td> <td class="paramname"><em>openmaxStandComp</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>The destructor </p> <p>Definition at line <a class="el" href="omx__volume__component_8c_source.html#l00120">120</a> of file <a class="el" href="omx__volume__component_8c_source.html">omx_volume_component.c</a>.</p> <p>References <a class="el" href="omx__comp__debug__levels_8h_source.html#l00059">DEB_LEV_FUNCTION_NAME</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="omx__base__filter_8c_source.html#l00066">omx_base_filter_Destructor()</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00051">OMX_PortDomainAudio</a>, and <a class="el" href="_o_m_x___component_8h_source.html#l00326">OMX_COMPONENTTYPE::pComponentPrivate</a>.</p> <p>Referenced by <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p> </div> </div> <a class="anchor" id="aa22039016219ec05ce34ea20ecb5b46a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> omx_volume_component_GetConfig </td> <td>(</td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> </td> <td class="paramname"><em>hComponent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___index_8h.html#abc3b6e6cb9a9d5c14cb679ac455ea715">OMX_INDEXTYPE</a> </td> <td class="paramname"><em>nIndex</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> </td> <td class="paramname"><em>pComponentConfigStructure</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="omx__volume__component_8c_source.html#l00190">190</a> of file <a class="el" href="omx__volume__component_8c_source.html">omx_volume_component.c</a>.</p> <p>References <a class="el" href="_o_m_x___audio_8h_source.html#l01016">OMX_AUDIO_CONFIG_VOLUMETYPE::bLinear</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00265">OMX_BS32::nMax</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00264">OMX_BS32::nMin</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00263">OMX_BS32::nValue</a>, <a class="el" href="omx__base__component_8c_source.html#l01228">omx_base_component_GetConfig()</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, <a class="el" href="_o_m_x___index_8h_source.html#l00128">OMX_IndexConfigAudioVolume</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00191">OMX_TRUE</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00326">OMX_COMPONENTTYPE::pComponentPrivate</a>, <a class="el" href="omx__base__component_8c_source.html#l00746">setHeader()</a>, and <a class="el" href="_o_m_x___audio_8h_source.html#l01018">OMX_AUDIO_CONFIG_VOLUMETYPE::sVolume</a>.</p> <p>Referenced by <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p> </div> </div> <a class="anchor" id="a424704835626977141c21786e2b1491f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> omx_volume_component_GetParameter </td> <td>(</td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> </td> <td class="paramname"><em>hComponent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___index_8h.html#abc3b6e6cb9a9d5c14cb679ac455ea715">OMX_INDEXTYPE</a> </td> <td class="paramname"><em>nParamIndex</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> </td> <td class="paramname"><em>ComponentParameterStructure</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="omx__volume__component_8c_source.html#l00272">272</a> of file <a class="el" href="omx__volume__component_8c_source.html">omx_volume_component.c</a>.</p> <p>References <a class="el" href="_o_m_x___audio_8h_source.html#l00166">OMX_AUDIO_PARAM_PCMMODETYPE::bInterleaved</a>, <a class="el" href="omx__base__component_8c_source.html#l00720">checkHeader()</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00287">OMX_PARAM_COMPONENTROLETYPE::cRole</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00048">DEB_LEV_SIMPLE_SEQ</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="_o_m_x___audio_8h_source.html#l00165">OMX_AUDIO_PARAM_PCMMODETYPE::eEndian</a>, <a class="el" href="_o_m_x___audio_8h_source.html#l00164">OMX_AUDIO_PARAM_PCMMODETYPE::eNumData</a>, <a class="el" href="_o_m_x___audio_8h_source.html#l00171">OMX_AUDIO_PARAM_PCMMODETYPE::ePCMMode</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="_o_m_x___audio_8h_source.html#l00168">OMX_AUDIO_PARAM_PCMMODETYPE::nBitPerSample</a>, <a class="el" href="_o_m_x___audio_8h_source.html#l00163">OMX_AUDIO_PARAM_PCMMODETYPE::nChannels</a>, <a class="el" href="_o_m_x___audio_8h_source.html#l00122">OMX_AUDIO_PARAM_PORTFORMATTYPE::nPortIndex</a>, <a class="el" href="_o_m_x___audio_8h_source.html#l00162">OMX_AUDIO_PARAM_PCMMODETYPE::nPortIndex</a>, <a class="el" href="_o_m_x___audio_8h_source.html#l00169">OMX_AUDIO_PARAM_PCMMODETYPE::nSamplingRate</a>, <a class="el" href="_o_m_x___audio_8h_source.html#l00130">OMX_AUDIO_PCMModeLinear</a>, <a class="el" href="omx__base__component_8c_source.html#l00896">omx_base_component_GetParameter()</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00236">OMX_EndianBig</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00147">OMX_ErrorBadParameter</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00224">OMX_ErrorBadPortIndex</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, <a class="el" href="_o_m_x___index_8h_source.html#l00064">OMX_IndexParamAudioInit</a>, <a class="el" href="_o_m_x___index_8h_source.html#l00095">OMX_IndexParamAudioPcm</a>, <a class="el" href="_o_m_x___index_8h_source.html#l00094">OMX_IndexParamAudioPortFormat</a>, <a class="el" href="_o_m_x___index_8h_source.html#l00085">OMX_IndexParamStandardComponentRole</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00247">OMX_NumericalDataSigned</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00051">OMX_PortDomainAudio</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00191">OMX_TRUE</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00326">OMX_COMPONENTTYPE::pComponentPrivate</a>, <a class="el" href="omx__base__audio__port_8h_source.html#l00044">omx_base_audio_PortType::sAudioParam</a>, and <a class="el" href="omx__volume__component_8h_source.html#l00036">VOLUME_COMP_ROLE</a>.</p> <p>Referenced by <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p> </div> </div> <a class="anchor" id="a0048717a4840f2ba669ea04bdff1b0c5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> omx_volume_component_SetConfig </td> <td>(</td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> </td> <td class="paramname"><em>hComponent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___index_8h.html#abc3b6e6cb9a9d5c14cb679ac455ea715">OMX_INDEXTYPE</a> </td> <td class="paramname"><em>nIndex</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> </td> <td class="paramname"><em>pComponentConfigStructure</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>setting configurations </p> <p>Definition at line <a class="el" href="omx__volume__component_8c_source.html#l00163">163</a> of file <a class="el" href="omx__volume__component_8c_source.html">omx_volume_component.c</a>.</p> <p>References <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00263">OMX_BS32::nValue</a>, <a class="el" href="omx__base__component_8c_source.html#l01242">omx_base_component_SetConfig()</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00147">OMX_ErrorBadParameter</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, <a class="el" href="_o_m_x___index_8h_source.html#l00128">OMX_IndexConfigAudioVolume</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00326">OMX_COMPONENTTYPE::pComponentPrivate</a>, and <a class="el" href="_o_m_x___audio_8h_source.html#l01018">OMX_AUDIO_CONFIG_VOLUMETYPE::sVolume</a>.</p> <p>Referenced by <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p> </div> </div> <a class="anchor" id="aedc3437cf95f35c72186b6fe2ef97292"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> omx_volume_component_SetParameter </td> <td>(</td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> </td> <td class="paramname"><em>hComponent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___index_8h.html#abc3b6e6cb9a9d5c14cb679ac455ea715">OMX_INDEXTYPE</a> </td> <td class="paramname"><em>nParamIndex</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> </td> <td class="paramname"><em>ComponentParameterStructure</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="omx__volume__component_8c_source.html#l00215">215</a> of file <a class="el" href="omx__volume__component_8c_source.html">omx_volume_component.c</a>.</p> <p>References <a class="el" href="omx__base__component_8c_source.html#l00720">checkHeader()</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00287">OMX_PARAM_COMPONENTROLETYPE::cRole</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00039">DEB_LEV_ERR</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00048">DEB_LEV_SIMPLE_SEQ</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="_o_m_x___audio_8h_source.html#l00122">OMX_AUDIO_PARAM_PORTFORMATTYPE::nPortIndex</a>, <a class="el" href="omx__base__component_8c_source.html#l00759">omx_base_component_ParameterSanityCheck()</a>, <a class="el" href="omx__base__component_8c_source.html#l01026">omx_base_component_SetParameter()</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00147">OMX_ErrorBadParameter</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00224">OMX_ErrorBadPortIndex</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00215">OMX_ErrorIncorrectStateOperation</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, <a class="el" href="_o_m_x___index_8h_source.html#l00094">OMX_IndexParamAudioPortFormat</a>, <a class="el" href="_o_m_x___index_8h_source.html#l00085">OMX_IndexParamStandardComponentRole</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00097">OMX_StateLoaded</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00108">OMX_StateWaitForResources</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00326">OMX_COMPONENTTYPE::pComponentPrivate</a>, <a class="el" href="omx__base__audio__port_8h_source.html#l00044">omx_base_audio_PortType::sAudioParam</a>, and <a class="el" href="omx__volume__component_8h_source.html#l00036">VOLUME_COMP_ROLE</a>.</p> <p>Referenced by <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <html> <body> <hr size="1"><small>Generated for OpenMAX Bellagio rel. 0.9.3 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small> <br> <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=160680&type=4" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a> </body> </html>