summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastMixerDumpState.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-02 15:53:01 -0800
committerGlenn Kasten <gkasten@google.com>2015-03-06 09:35:19 -0800
commit17c9c998afed5ed9df7495eeed5822f3ed53ebec (patch)
tree9b146046584a7093410ecb23b1265d770383c376 /services/audioflinger/FastMixerDumpState.cpp
parent44182c206f7c5584ef2cf504da6be98fab665dbf (diff)
downloadframeworks_av-17c9c998afed5ed9df7495eeed5822f3ed53ebec.zip
frameworks_av-17c9c998afed5ed9df7495eeed5822f3ed53ebec.tar.gz
frameworks_av-17c9c998afed5ed9df7495eeed5822f3ed53ebec.tar.bz2
Initial implementation of fast capture dump
Change-Id: I898d903e539f760ef7caa80f41ca21c223f67264
Diffstat (limited to 'services/audioflinger/FastMixerDumpState.cpp')
-rw-r--r--services/audioflinger/FastMixerDumpState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/FastMixerDumpState.cpp b/services/audioflinger/FastMixerDumpState.cpp
index 65fbf2b..b10942b 100644
--- a/services/audioflinger/FastMixerDumpState.cpp
+++ b/services/audioflinger/FastMixerDumpState.cpp
@@ -64,7 +64,7 @@ void FastMixerDumpState::dump(int fd) const
}
double measuredWarmupMs = (mMeasuredWarmupTs.tv_sec * 1000.0) +
(mMeasuredWarmupTs.tv_nsec / 1000000.0);
- double mixPeriodSec = (double) mFrameCount / (double) mSampleRate;
+ double mixPeriodSec = (double) mFrameCount / mSampleRate;
dprintf(fd, " FastMixer command=%s writeSequence=%u framesWritten=%u\n"
" numTracks=%u writeErrors=%u underruns=%u overruns=%u\n"
" sampleRate=%u frameCount=%zu measuredWarmup=%.3g ms, warmupCycles=%u\n"