diff options
author | Eric Laurent <elaurent@google.com> | 2015-03-18 18:30:19 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-04-08 18:08:24 -0700 |
commit | ffbc80f5908eaf67a033c6e93a343c39dd6894eb (patch) | |
tree | c97aa681b8c70d7429f7be93f851f04e9dee5900 /services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h | |
parent | c75307b73d324d590d0dbc05b44bce9aa89b7145 (diff) | |
download | frameworks_av-ffbc80f5908eaf67a033c6e93a343c39dd6894eb.zip frameworks_av-ffbc80f5908eaf67a033c6e93a343c39dd6894eb.tar.gz frameworks_av-ffbc80f5908eaf67a033c6e93a343c39dd6894eb.tar.bz2 |
audio policy: volume in dBs
Volumes are now stored and exchanged in dBs to be
consistent with the volume tables.
They are converted if needed when applied to the target
gain controller.
Change-Id: I916cbb0bbe65c916444b8c65a2bdca9645c58399
Diffstat (limited to 'services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h')
-rw-r--r-- | services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h b/services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h index c6bb975..f1aee46 100644 --- a/services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h +++ b/services/audiopolicy/common/managerdefinitions/include/AudioOutputDescriptor.h @@ -74,7 +74,7 @@ public: audio_patch_handle_t mPatchHandle; uint32_t mRefCount[AUDIO_STREAM_CNT]; // number of streams of each type using this output nsecs_t mStopTime[AUDIO_STREAM_CNT]; - float mCurVolume[AUDIO_STREAM_CNT]; // current stream volume + float mCurVolume[AUDIO_STREAM_CNT]; // current stream volume in dB int mMuteCount[AUDIO_STREAM_CNT]; // mute request counter bool mStrategyMutedByDevice[NUM_STRATEGIES]; // strategies muted because of incompatible // device selection. See checkDeviceMuteStrategies() |