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/AudioFlinger.cpp | |
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/AudioFlinger.cpp')
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index e81267f..b3de526 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -464,7 +464,7 @@ sp<IAudioTrack> AudioFlinger::createTrack( PlaybackThread *thread = checkPlaybackThread_l(output); PlaybackThread *effectThread = NULL; if (thread == NULL) { - ALOGE("unknown output thread"); + ALOGE("no playback thread found for output handle %d", output); lStatus = BAD_VALUE; goto Exit; } @@ -589,7 +589,7 @@ uint32_t AudioFlinger::latency(audio_io_handle_t output) const Mutex::Autolock _l(mLock); PlaybackThread *thread = checkPlaybackThread_l(output); if (thread == NULL) { - ALOGW("latency() unknown thread %d", output); + ALOGW("latency(): no playback thread found for output handle %d", output); return 0; } return thread->latency(); |