summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Threads.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-01-31 16:18:54 -0800
committerGlenn Kasten <gkasten@google.com>2014-02-03 07:48:43 -0800
commit0f11b51a57bc9062c4fe8af73747319cedabc5d6 (patch)
tree3a9156d700b18a53f856ac8ae51a44604af36fe1 /services/audioflinger/Threads.h
parent0520e05f9083cf13fa7062629bc6606f4b39f08a (diff)
downloadframeworks_av-0f11b51a57bc9062c4fe8af73747319cedabc5d6.zip
frameworks_av-0f11b51a57bc9062c4fe8af73747319cedabc5d6.tar.gz
frameworks_av-0f11b51a57bc9062c4fe8af73747319cedabc5d6.tar.bz2
Fix unused parameter warnings in audio
Change-Id: I665ba3358dd9502f0adec70d486e7bf8a2e1b0fe
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r--services/audioflinger/Threads.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h
index 8df6f94..1745ea1 100644
--- a/services/audioflinger/Threads.h
+++ b/services/audioflinger/Threads.h
@@ -201,13 +201,13 @@ public:
// effect
void removeEffect_l(const sp< EffectModule>& effect);
// detach all tracks connected to an auxiliary effect
- virtual void detachAuxEffect_l(int effectId) {}
+ virtual void detachAuxEffect_l(int effectId __unused) {}
// returns either EFFECT_SESSION if effects on this audio session exist in one
// chain, or TRACK_SESSION if tracks on this audio session exist, or both
virtual uint32_t hasAudioSession(int sessionId) const = 0;
// the value returned by default implementation is not important as the
// strategy is only meaningful for PlaybackThread which implements this method
- virtual uint32_t getStrategyForSession_l(int sessionId) { return 0; }
+ virtual uint32_t getStrategyForSession_l(int sessionId __unused) { return 0; }
// suspend or restore effect according to the type of effect passed. a NULL
// type pointer means suspend all effects in the session
@@ -625,7 +625,7 @@ private:
sp<NBLog::Writer> mFastMixerNBLogWriter;
public:
virtual bool hasFastMixer() const = 0;
- virtual FastTrackUnderruns getFastTrackUnderruns(size_t fastIndex) const
+ virtual FastTrackUnderruns getFastTrackUnderruns(size_t fastIndex __unused) const
{ FastTrackUnderruns dummy; return dummy; }
protected: