diff options
author | Dan Albert <danalbert@google.com> | 2014-11-20 23:47:28 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-20 23:47:28 +0000 |
commit | d0e12a161471823d1ab269cb608be3f3b0a71ed1 (patch) | |
tree | f9a2f2ea19f528495278c1b651db5d75c8306869 /services/audioflinger/AudioMixer.h | |
parent | 75cfc881e25a9d7647701526484b5885dc43c574 (diff) | |
parent | 902dc42d79b075395d484ce1c71f215b199aaa2a (diff) | |
download | frameworks_av-d0e12a161471823d1ab269cb608be3f3b0a71ed1.zip frameworks_av-d0e12a161471823d1ab269cb608be3f3b0a71ed1.tar.gz frameworks_av-d0e12a161471823d1ab269cb608be3f3b0a71ed1.tar.bz2 |
am 902dc42d: am 07715ac3: Merge "C++11 compatibility."
* commit '902dc42d79b075395d484ce1c71f215b199aaa2a':
C++11 compatibility.
Diffstat (limited to 'services/audioflinger/AudioMixer.h')
-rw-r--r-- | services/audioflinger/AudioMixer.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/services/audioflinger/AudioMixer.h b/services/audioflinger/AudioMixer.h index 3b972bb..f4f142b 100644 --- a/services/audioflinger/AudioMixer.h +++ b/services/audioflinger/AudioMixer.h @@ -21,15 +21,15 @@ #include <stdint.h> #include <sys/types.h> +#include <hardware/audio_effect.h> +#include <media/AudioBufferProvider.h> +#include <media/nbaio/NBLog.h> +#include <system/audio.h> +#include <utils/Compat.h> #include <utils/threads.h> -#include <media/AudioBufferProvider.h> #include "AudioResampler.h" -#include <hardware/audio_effect.h> -#include <system/audio.h> -#include <media/nbaio/NBLog.h> - // FIXME This is actually unity gain, which might not be max in future, expressed in U.12 #define MAX_GAIN_INT AudioMixer::UNITY_GAIN_INT @@ -58,7 +58,7 @@ public: static const uint32_t MAX_NUM_CHANNELS_TO_DOWNMIX = AUDIO_CHANNEL_COUNT_MAX; static const uint16_t UNITY_GAIN_INT = 0x1000; - static const float UNITY_GAIN_FLOAT = 1.0f; + static const CONSTEXPR float UNITY_GAIN_FLOAT = 1.0f; enum { // names |