summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Threads.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2013-03-04 22:38:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-03-04 22:38:34 +0000
commitd573622dc001c23223cb26b1f55fb75be189e77d (patch)
tree48ed99063098b017143f92560fe2eeabed8e8dc5 /services/audioflinger/Threads.cpp
parent8602e5501a653a00e2f82d6fd3f7558382fea1dd (diff)
parentc9b2e20f7c9a71e07ef398152709c76079decbcd (diff)
downloadframeworks_av-d573622dc001c23223cb26b1f55fb75be189e77d.zip
frameworks_av-d573622dc001c23223cb26b1f55fb75be189e77d.tar.gz
frameworks_av-d573622dc001c23223cb26b1f55fb75be189e77d.tar.bz2
Merge "Miscellaneous cleanup" into jb-mr2-dev
Diffstat (limited to 'services/audioflinger/Threads.cpp')
-rw-r--r--services/audioflinger/Threads.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index ec8ffa0..9d98f0b 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -2795,7 +2795,7 @@ AudioFlinger::PlaybackThread::mixer_state AudioFlinger::MixerThread::prepareTrac
// No buffers for this track. Give it a few chances to
// fill a buffer, then remove it from active list.
if (--(track->mRetryCount) <= 0) {
- ALOGV("BUFFER TIMEOUT: remove(%d) from active list on thread %p", name, this);
+ ALOGI("BUFFER TIMEOUT: remove(%d) from active list on thread %p", name, this);
tracksToRemove->add(track);
// indicate to client process that the track was disabled because of underrun;
// it will then automatically call start() when data is available
@@ -3725,7 +3725,8 @@ bool AudioFlinger::RecordThread::threadLoop()
readInto = mRsmpInBuffer;
mRsmpInIndex = 0;
}
- mBytesRead = mInput->stream->read(mInput->stream, readInto, mInputBytes);
+ mBytesRead = mInput->stream->read(mInput->stream, readInto,
+ mInputBytes);
if (mBytesRead <= 0) {
if ((mBytesRead < 0) && (mActiveTrack->mState == TrackBase::ACTIVE))
{