diff options
author | Glenn Kasten <gkasten@google.com> | 2012-01-26 09:50:01 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-02-03 16:09:30 -0800 |
commit | d5e54f7a36daedc3b2a642d1499c262da04e6280 (patch) | |
tree | 9a56f54d6431ad2f7f0d2c6817f1e9f568bca769 /services/audioflinger/AudioResampler.cpp | |
parent | 787bae0578fbaab6219ebf23494866b224d01438 (diff) | |
download | frameworks_av-d5e54f7a36daedc3b2a642d1499c262da04e6280.zip frameworks_av-d5e54f7a36daedc3b2a642d1499c262da04e6280.tar.gz frameworks_av-d5e54f7a36daedc3b2a642d1499c262da04e6280.tar.bz2 |
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 feacd96..6e17a4a 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() { |