OpenMAXBellagio  0.9.3
OMX_AUDIO_CONFIG_VOLUMETYPE Struct Reference

#include <OMX_Audio.h>

Data Fields

OMX_U32 nSize
 
OMX_VERSIONTYPE nVersion
 
OMX_U32 nPortIndex
 
OMX_BOOL bLinear
 
OMX_BS32 sVolume
 

Detailed Description

Audio Volume adjustment for a port

Definition at line 1008 of file OMX_Audio.h.

Field Documentation

OMX_BOOL OMX_AUDIO_CONFIG_VOLUMETYPE::bLinear
           Is the volume to be set in linear (0.100) 

or logarithmic scale (mB)

Definition at line 1016 of file OMX_Audio.h.

Referenced by omx_volume_component_GetConfig().

OMX_U32 OMX_AUDIO_CONFIG_VOLUMETYPE::nPortIndex
         Port index indicating which port to 

set. Select the input port to set just that port's volume. Select the output port to adjust the master volume.

Definition at line 1011 of file OMX_Audio.h.

Referenced by main(), omx_audio_mixer_component_GetConfig(), and omx_audio_mixer_component_SetConfig().

OMX_U32 OMX_AUDIO_CONFIG_VOLUMETYPE::nSize

size of the structure in bytes

Definition at line 1009 of file OMX_Audio.h.

OMX_VERSIONTYPE OMX_AUDIO_CONFIG_VOLUMETYPE::nVersion

OMX specification version information

Definition at line 1010 of file OMX_Audio.h.

OMX_BS32 OMX_AUDIO_CONFIG_VOLUMETYPE::sVolume
           Volume linear setting in the 0..100 range, OR

Volume logarithmic setting for this port. The values for volume are in mB (millibels = 1/100 dB) relative to a gain of 1 (e.g. the output is the same as the input level). Values are in mB from nMax (maximum volume) to nMin mB (typically negative). Since the volume is "voltage" and not a "power", it takes a setting of -600 mB to decrease the volume by 1/2. If a component cannot accurately set the volume to the requested value, it must set the volume to the closest value BELOW the requested value. When getting the volume setting, the current actual volume must be returned.

Definition at line 1018 of file OMX_Audio.h.

Referenced by main(), omx_audio_mixer_component_GetConfig(), omx_audio_mixer_component_SetConfig(), omx_volume_component_GetConfig(), and omx_volume_component_SetConfig().


The documentation for this struct was generated from the following file:

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