summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-11-20 23:47:28 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-20 23:47:28 +0000
commitd0e12a161471823d1ab269cb608be3f3b0a71ed1 (patch)
treef9a2f2ea19f528495278c1b651db5d75c8306869 /cmds
parent75cfc881e25a9d7647701526484b5885dc43c574 (diff)
parent902dc42d79b075395d484ce1c71f215b199aaa2a (diff)
downloadframeworks_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 'cmds')
-rw-r--r--cmds/stagefright/SineSource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/stagefright/SineSource.h b/cmds/stagefright/SineSource.h
index d772e0d..be05661 100644
--- a/cmds/stagefright/SineSource.h
+++ b/cmds/stagefright/SineSource.h
@@ -3,6 +3,7 @@
#define SINE_SOURCE_H_
#include <media/stagefright/MediaSource.h>
+#include <utils/Compat.h>
namespace android {
@@ -24,7 +25,7 @@ protected:
private:
enum { kBufferSize = 8192 };
- static const double kFrequency = 500.0;
+ static const CONSTEXPR double kFrequency = 500.0;
bool mStarted;
int32_t mSampleRate;