diff options
| author | Dan Albert <danalbert@google.com> | 2014-11-20 23:41:54 +0000 | 
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-20 23:41:54 +0000 | 
| commit | 902dc42d79b075395d484ce1c71f215b199aaa2a (patch) | |
| tree | ce454a3265d2b4083dd5be18ad2cf75667a24ff1 /cmds | |
| parent | d60486723cdc0b4b83b77d57ce35023a7516c471 (diff) | |
| parent | 07715ac3b9309b397fb911ef81a393c4493cf20d (diff) | |
| download | frameworks_av-902dc42d79b075395d484ce1c71f215b199aaa2a.zip frameworks_av-902dc42d79b075395d484ce1c71f215b199aaa2a.tar.gz frameworks_av-902dc42d79b075395d484ce1c71f215b199aaa2a.tar.bz2  | |
am 07715ac3: Merge "C++11 compatibility."
* commit '07715ac3b9309b397fb911ef81a393c4493cf20d':
  C++11 compatibility.
Diffstat (limited to 'cmds')
| -rw-r--r-- | cmds/stagefright/SineSource.h | 3 | 
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;  | 
