diff options
author | Glenn Kasten <gkasten@google.com> | 2012-11-01 11:11:38 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-11-01 12:19:25 -0700 |
commit | 85ab62c4b433df3f1a9826bed1c9bec07a86c750 (patch) | |
tree | 0c5443a20824924cb7403f4cabfee84062489793 /services/audioflinger/AudioPolicyService.h | |
parent | 5fe6138bd839297a1eed16885102b3bdfc98c040 (diff) | |
download | frameworks_av-85ab62c4b433df3f1a9826bed1c9bec07a86c750.zip frameworks_av-85ab62c4b433df3f1a9826bed1c9bec07a86c750.tar.gz frameworks_av-85ab62c4b433df3f1a9826bed1c9bec07a86c750.tar.bz2 |
Line length 100
Change-Id: Ib28fd7b9ce951a6933f006e7f8812ba617625530
Diffstat (limited to 'services/audioflinger/AudioPolicyService.h')
-rw-r--r-- | services/audioflinger/AudioPolicyService.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/services/audioflinger/AudioPolicyService.h b/services/audioflinger/AudioPolicyService.h index 63f9549..92653c1 100644 --- a/services/audioflinger/AudioPolicyService.h +++ b/services/audioflinger/AudioPolicyService.h @@ -142,11 +142,11 @@ private: status_t dumpInternals(int fd); // Thread used for tone playback and to send audio config commands to audio flinger - // For tone playback, using a separate thread is necessary to avoid deadlock with mLock because startTone() - // and stopTone() are normally called with mLock locked and requesting a tone start or stop will cause - // calls to AudioPolicyService and an attempt to lock mLock. - // For audio config commands, it is necessary because audio flinger requires that the calling process (user) - // has permission to modify audio settings. + // For tone playback, using a separate thread is necessary to avoid deadlock with mLock because + // startTone() and stopTone() are normally called with mLock locked and requesting a tone start + // or stop will cause calls to AudioPolicyService and an attempt to lock mLock. + // For audio config commands, it is necessary because audio flinger requires that the calling + // process (user) has permission to modify audio settings. class AudioCommandThread : public Thread { class AudioCommand; public: |