diff options
author | Glenn Kasten <gkasten@google.com> | 2014-02-07 10:25:56 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-02-18 12:56:13 -0800 |
commit | deca2ae0a7cf8bc54ff3f30b7dc39bbc78b94c0d (patch) | |
tree | 6c49429a735e24799b735c6f5488d67d3321afc2 /services/audioflinger/Threads.h | |
parent | 6dd62fb91d82dedcfa3ab38c02eb0940b4ba932a (diff) | |
download | frameworks_av-deca2ae0a7cf8bc54ff3f30b7dc39bbc78b94c0d.zip frameworks_av-deca2ae0a7cf8bc54ff3f30b7dc39bbc78b94c0d.tar.gz frameworks_av-deca2ae0a7cf8bc54ff3f30b7dc39bbc78b94c0d.tar.bz2 |
Add _l suffix to readInputParameters/OutputParameters
They are always called while thread mutex is locked,
or in the thread constructor.
Change-Id: I56df71563a52a5cd6cea6fc0914df993519e1b74
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r-- | services/audioflinger/Threads.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h index 8d9f3e1..904c292 100644 --- a/services/audioflinger/Threads.h +++ b/services/audioflinger/Threads.h @@ -270,8 +270,8 @@ protected: const sp<AudioFlinger> mAudioFlinger; - // updated by PlaybackThread::readOutputParameters() or - // RecordThread::readInputParameters() + // updated by PlaybackThread::readOutputParameters_l() or + // RecordThread::readInputParameters_l() uint32_t mSampleRate; size_t mFrameCount; // output HAL, direct output, record audio_channel_mask_t mChannelMask; @@ -478,7 +478,7 @@ public: status_t getTimestamp_l(AudioTimestamp& timestamp); protected: - // updated by readOutputParameters() + // updated by readOutputParameters_l() size_t mNormalFrameCount; // normal mixer and effects int16_t* mMixBuffer; // frame size aligned mix buffer @@ -541,7 +541,7 @@ private: void removeTrack_l(const sp<Track>& track); void broadcast_l(); - void readOutputParameters(); + void readOutputParameters_l(); virtual void dumpInternals(int fd, const Vector<String16>& args); void dumpTracks(int fd, const Vector<String16>& args); @@ -915,7 +915,7 @@ public: virtual bool checkForNewParameters_l(); virtual String8 getParameters(const String8& keys); virtual void audioConfigChanged_l(int event, int param = 0); - void readInputParameters(); + void readInputParameters_l(); virtual uint32_t getInputFramesLost(); virtual status_t addEffectChain_l(const sp<EffectChain>& chain); |