From 6be494077f8d7970f3a88129c5d139c5a0c88f6d Mon Sep 17 00:00:00 2001 From: Andy Hung Date: Fri, 30 May 2014 10:42:03 -0700 Subject: Change parameter type for volume to float in AudioMixer Change-Id: I4da1505ce852505f86f8e5b87f60e8edceeb30e0 --- services/audioflinger/AudioMixer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'services/audioflinger/AudioMixer.h') 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 -- cgit v1.1