summaryrefslogtreecommitdiff
path: root/services/audioflinger/AudioResampler.cpp
diff options
context:
space:
mode:
author Glenn Kasten <gkasten@google.com> 2012-02-08 07:38:42 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2012-02-08 07:38:42 -0800
commite0efd5f6c19e8944e5dd65e8c537fcb32b1b9fd2 (patch)
tree80ba437c1a34aaa1dc18e3f7bea024f10eef6bc7 /services/audioflinger/AudioResampler.cpp
parent2228130a983da7efe36d7f0916dc6503656de773 (diff)
parent4fc616192a7c841c5e276e06ac8defbd27a1c77a (diff)
Merge "Remove dead code"
Diffstat (limited to 'services/audioflinger/AudioResampler.cpp')
-rw-r--r--services/audioflinger/AudioResampler.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/services/audioflinger/AudioResampler.cpp b/services/audioflinger/AudioResampler.cpp
index feacd961b124..6e17a4a33f28 100644
--- a/services/audioflinger/AudioResampler.cpp
+++ b/services/audioflinger/AudioResampler.cpp
@@ -130,12 +130,6 @@ AudioResampler::AudioResampler(int bitDepth, int inChannelCount,
mVolume[0] = mVolume[1] = 0;
mBuffer.frameCount = 0;
- // save format for quick lookup
- if (inChannelCount == 1) {
- mFormat = MONO_16_BIT;
- } else {
- mFormat = STEREO_16_BIT;
- }
}
AudioResampler::~AudioResampler() {