diff options
author | Glenn Kasten <gkasten@google.com> | 2012-03-12 15:05:21 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-03-12 15:05:21 -0700 |
commit | 2d6ef93773465cd3e66146fac35050a472c589f7 (patch) | |
tree | 2a4a9d42d5911e3f04712560014671ab742465ca /services/audioflinger | |
parent | 0643d428cebcfe885ec2777253d45ee6e05da6fe (diff) | |
parent | 688aac7675f18bdd7bff13334759e20bc4e6c390 (diff) | |
download | frameworks_av-2d6ef93773465cd3e66146fac35050a472c589f7.zip frameworks_av-2d6ef93773465cd3e66146fac35050a472c589f7.tar.gz frameworks_av-2d6ef93773465cd3e66146fac35050a472c589f7.tar.bz2 |
Merge "Remove virtual from methods that don't need it"
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index 194b826..141a31e 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -826,7 +826,7 @@ private: audio_io_handle_t id, uint32_t device, type_t type); virtual ~PlaybackThread(); - virtual status_t dump(int fd, const Vector<String16>& args); + status_t dump(int fd, const Vector<String16>& args); // Thread virtuals virtual status_t readyToRun(); @@ -855,7 +855,8 @@ public: virtual status_t initCheck() const { return (mOutput == NULL) ? NO_INIT : NO_ERROR; } - virtual uint32_t latency() const; + // return estimated latency in milliseconds, as reported by HAL + uint32_t latency() const; void setMasterVolume(float value); void setMasterMute(bool muted); @@ -886,7 +887,7 @@ public: bool isSuspended() const { return (mSuspended > 0); } virtual String8 getParameters(const String8& keys); virtual void audioConfigChanged_l(int event, int param = 0); - virtual status_t getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames); + status_t getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames); int16_t *mixBuffer() const { return mMixBuffer; }; virtual void detachAuxEffect_l(int effectId); |