summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioMixer.h
diff options
context:
space:
mode:
authorAndy Hung <hunga@google.com>2014-05-30 10:42:03 -0700
committerAndy Hung <hunga@google.com>2014-05-30 17:07:44 -0700
commit6be494077f8d7970f3a88129c5d139c5a0c88f6d (patch)
tree8c77f163bd84e808693832666d29b42f73361fc5 /services/audioflinger/AudioMixer.h
parent97ae82408469286426d8dc57a361350f74e24a8b (diff)
downloadframeworks_av-6be494077f8d7970f3a88129c5d139c5a0c88f6d.zip
frameworks_av-6be494077f8d7970f3a88129c5d139c5a0c88f6d.tar.gz
frameworks_av-6be494077f8d7970f3a88129c5d139c5a0c88f6d.tar.bz2
Change parameter type for volume to float in AudioMixer
Change-Id: I4da1505ce852505f86f8e5b87f60e8edceeb30e0
Diffstat (limited to 'services/audioflinger/AudioMixer.h')
-rw-r--r--services/audioflinger/AudioMixer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audioflinger/AudioMixer.h b/services/audioflinger/AudioMixer.h
index 43fe664..766ff60 100644
--- a/services/audioflinger/AudioMixer.h
+++ b/services/audioflinger/AudioMixer.h
@@ -59,6 +59,7 @@ public:
static const uint32_t MAX_NUM_CHANNELS_TO_DOWNMIX = 8;
static const uint16_t UNITY_GAIN_INT = 0x1000;
+ static const float UNITY_GAIN_FLOAT = 1.0f;
enum { // names