summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResampler.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-26 09:50:01 -0800
committerGlenn Kasten <gkasten@google.com>2012-02-03 16:09:30 -0800
commitd5e54f7a36daedc3b2a642d1499c262da04e6280 (patch)
tree9a56f54d6431ad2f7f0d2c6817f1e9f568bca769 /services/audioflinger/AudioResampler.h
parent787bae0578fbaab6219ebf23494866b224d01438 (diff)
downloadframeworks_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.h')
-rw-r--r--services/audioflinger/AudioResampler.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/services/audioflinger/AudioResampler.h b/services/audioflinger/AudioResampler.h
index ffa690a..e57e2e9 100644
--- a/services/audioflinger/AudioResampler.h
+++ b/services/audioflinger/AudioResampler.h
@@ -66,7 +66,6 @@ protected:
// multiplier to calculate fixed point phase increment
static const double kPhaseMultiplier = 1L << kNumPhaseBits;
- enum format {MONO_16_BIT, STEREO_16_BIT};
AudioResampler(int bitDepth, int inChannelCount, int32_t sampleRate);
// prevent copying
@@ -83,7 +82,6 @@ protected:
uint32_t mVolumeRL;
};
int16_t mTargetVolume[2];
- format mFormat;
size_t mInputIndex;
int32_t mPhaseIncrement;
uint32_t mPhaseFraction;