struct OMX_AUDIO_CONFIG_CHANNELVOLUMETYPE |
Audio Volume adjustment for a channel
Public Attributes | |
---|---|
OMX_BOOL | bIsMIDI |
OMX_BOOL | bLinear |
OMX_U32 | nChannel |
OMX_U32 | nPortIndex |
OMX_U32 | nSize |
OMX_VERSIONTYPE | nVersion |
OMX_BS32 | sVolume |
OMX_BOOL | bLinear |
Is the volume to be set in linear (0.100) or logarithmic scale (mB)
OMX_U32 | nChannel |
channel to select from 0 to N-1, using OMX_ALL to apply volume settings to all channels
OMX_U32 | 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.
OMX_BS32 | 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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.