summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Threads.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-22 01:22:06 -0700
committerElliott Hughes <enh@google.com>2014-05-22 01:22:06 -0700
commit8b5f642eb2364ea7fe46a5b3af51b48b58f12183 (patch)
tree3804f0168793993d3558bcb33970904f45db8949 /services/audioflinger/Threads.cpp
parent85e6e87c41bba51729cee8958a5c30157c8dc674 (diff)
downloadframeworks_av-8b5f642eb2364ea7fe46a5b3af51b48b58f12183.zip
frameworks_av-8b5f642eb2364ea7fe46a5b3af51b48b58f12183.tar.gz
frameworks_av-8b5f642eb2364ea7fe46a5b3af51b48b58f12183.tar.bz2
Move frameworks/av from fdprintf to POSIX dprintf.
Bug: 11156955 Change-Id: Ia98cd16b4c1f7be87cf060b7456de4f40896bacb
Diffstat (limited to 'services/audioflinger/Threads.cpp')
-rw-r--r--services/audioflinger/Threads.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index 433740c..61d881e 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -1116,7 +1116,7 @@ void AudioFlinger::PlaybackThread::dumpTracks(int fd, const Vector<String16>& ar
// These values are "raw"; they will wrap around. See prepareTracks_l() for a better way.
FastTrackUnderruns underruns = getFastTrackUnderruns(0);
- fdprintf(fd, "Normal mixer raw underrun counters: partial=%u empty=%u\n",
+ dprintf(fd, "Normal mixer raw underrun counters: partial=%u empty=%u\n",
underruns.mBitFields.mPartial, underruns.mBitFields.mEmpty);
}
@@ -1144,7 +1144,7 @@ void AudioFlinger::PlaybackThread::dumpInternals(int fd, const Vector<String16>&
snprintf(buffer, SIZE, "mix buffer : %p\n", mMixBuffer);
result.append(buffer);
write(fd, result.string(), result.size());
- fdprintf(fd, "Fast track availMask=%#x\n", mFastTrackAvailMask);
+ dprintf(fd, "Fast track availMask=%#x\n", mFastTrackAvailMask);
dumpBase(fd, args);
}