commit | 6be494077f8d7970f3a88129c5d139c5a0c88f6d | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Fri May 30 10:42:03 2014 -0700 |
committer | Andy Hung <hunga@google.com> | Fri May 30 17:07:44 2014 -0700 |
tree | 8c77f163bd84e808693832666d29b42f73361fc5 | |
parent | 97ae82408469286426d8dc57a361350f74e24a8b [diff] [blame] |
Change parameter type for volume to float in AudioMixer Change-Id: I4da1505ce852505f86f8e5b87f60e8edceeb30e0
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 @@ 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