diff options
| author | 2012-01-26 09:50:01 -0800 | |
|---|---|---|
| committer | 2012-02-03 16:09:30 -0800 | |
| commit | 4fc616192a7c841c5e276e06ac8defbd27a1c77a (patch) | |
| tree | 0a5e63aa8c425f35e6e7cdcc0729a2b23eaf7efd /services/audioflinger/AudioResampler.cpp | |
| parent | f55bc56490660e8eff92ff1f97607d6e78826629 (diff) | |
Remove dead code
mFormat is unused in resampler
mClientTid is unused
local variable pid is unused in dump
Change-Id: Ib156e38029366620bfeff2a13e73471867155a5b
Diffstat (limited to 'services/audioflinger/AudioResampler.cpp')
| -rw-r--r-- | services/audioflinger/AudioResampler.cpp | 6 |
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() { |