diff options
author | Glenn Kasten <gkasten@google.com> | 2013-02-26 11:32:32 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-03-04 12:58:21 -0800 |
commit | c9b2e20f7c9a71e07ef398152709c76079decbcd (patch) | |
tree | 7e3cbee883fbe1462e24a31b8b4af5a5911e8276 /services/audioflinger/PlaybackTracks.h | |
parent | bf04b5860182d8f4130dcb5d6d88ee68a58c99cd (diff) | |
download | frameworks_av-c9b2e20f7c9a71e07ef398152709c76079decbcd.zip frameworks_av-c9b2e20f7c9a71e07ef398152709c76079decbcd.tar.gz frameworks_av-c9b2e20f7c9a71e07ef398152709c76079decbcd.tar.bz2 |
Miscellaneous cleanup
Abbreviation framesReady to fRdy for new systrace.
Put inline const on one line.
Use local copy of mState in state.
Improve logging.
Line length 100.
Change-Id: I8201c3ce0e53fd464fd33d02544e52c342d40b68
Diffstat (limited to 'services/audioflinger/PlaybackTracks.h')
-rw-r--r-- | services/audioflinger/PlaybackTracks.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/services/audioflinger/PlaybackTracks.h b/services/audioflinger/PlaybackTracks.h index adec938..a749d7a 100644 --- a/services/audioflinger/PlaybackTracks.h +++ b/services/audioflinger/PlaybackTracks.h @@ -77,15 +77,9 @@ protected: virtual size_t framesReady() const; - bool isPausing() const { - return mState == PAUSING; - } - bool isPaused() const { - return mState == PAUSED; - } - bool isResuming() const { - return mState == RESUMING; - } + bool isPausing() const { return mState == PAUSING; } + bool isPaused() const { return mState == PAUSED; } + bool isResuming() const { return mState == RESUMING; } bool isReady() const; void setPaused() { mState = PAUSED; } void reset(); |