summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResampler.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-02-06 08:24:07 -0800
committerGlenn Kasten <gkasten@google.com>2014-02-10 08:22:42 -0800
commit01d3acba9de861cb2b718338e787cff3566fc5ec (patch)
tree597410f74cf8cc6e3103a5f6b209c3f40cd388c6 /services/audioflinger/AudioResampler.cpp
parentec95f0e82a680931e9c7c9011dbbd68d5ab484c8 (diff)
downloadframeworks_av-01d3acba9de861cb2b718338e787cff3566fc5ec.zip
frameworks_av-01d3acba9de861cb2b718338e787cff3566fc5ec.tar.gz
frameworks_av-01d3acba9de861cb2b718338e787cff3566fc5ec.tar.bz2
Fix clang warnings in AudioFlinger
Change-Id: I0fa61025c979709ad7d655bc717df5f194b6089e
Diffstat (limited to 'services/audioflinger/AudioResampler.cpp')
-rw-r--r--services/audioflinger/AudioResampler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/audioflinger/AudioResampler.cpp b/services/audioflinger/AudioResampler.cpp
index 07574ab..b206116 100644
--- a/services/audioflinger/AudioResampler.cpp
+++ b/services/audioflinger/AudioResampler.cpp
@@ -78,6 +78,9 @@ private:
int mX0R;
};
+/*static*/
+const double AudioResampler::kPhaseMultiplier = 1L << AudioResampler::kNumPhaseBits;
+
bool AudioResampler::qualityIsSupported(src_quality quality)
{
switch (quality) {