diff options
author | Glenn Kasten <gkasten@google.com> | 2015-03-05 17:11:21 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2015-03-06 09:23:23 -0800 |
commit | bcb1486d052e329ae4790d93055d1c51017286c3 (patch) | |
tree | 27c26a78aea2bfe71a07b61543b4a488e422a4e0 /services/audioflinger | |
parent | 2f55e7632dfa0dafde58efd8cb2af6593217fd91 (diff) | |
download | frameworks_av-bcb1486d052e329ae4790d93055d1c51017286c3.zip frameworks_av-bcb1486d052e329ae4790d93055d1c51017286c3.tar.gz frameworks_av-bcb1486d052e329ae4790d93055d1c51017286c3.tar.bz2 |
Whitespace
switch indent
Change-Id: I652c798dd37a80634d247c4d881fb1cce92c4bd6
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/FastMixerDumpState.cpp | 8 | ||||
-rw-r--r-- | services/audioflinger/Threads.cpp | 26 |
2 files changed, 17 insertions, 17 deletions
diff --git a/services/audioflinger/FastMixerDumpState.cpp b/services/audioflinger/FastMixerDumpState.cpp index 386b29d..65fbf2b 100644 --- a/services/audioflinger/FastMixerDumpState.cpp +++ b/services/audioflinger/FastMixerDumpState.cpp @@ -69,10 +69,10 @@ void FastMixerDumpState::dump(int fd) const " numTracks=%u writeErrors=%u underruns=%u overruns=%u\n" " sampleRate=%u frameCount=%zu measuredWarmup=%.3g ms, warmupCycles=%u\n" " mixPeriod=%.2f ms\n", - FastMixerState::commandToString(mCommand), mWriteSequence, mFramesWritten, - mNumTracks, mWriteErrors, mUnderruns, mOverruns, - mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles, - mixPeriodSec * 1e3); + FastMixerState::commandToString(mCommand), mWriteSequence, mFramesWritten, + mNumTracks, mWriteErrors, mUnderruns, mOverruns, + mSampleRate, mFrameCount, measuredWarmupMs, mWarmupCycles, + mixPeriodSec * 1e3); #ifdef FAST_THREAD_STATISTICS // find the interval of valid samples uint32_t bounds = mBounds; diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index a853f07..beca97d 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp @@ -797,19 +797,19 @@ void AudioFlinger::ThreadBase::acquireWakeLock(int uid) String16 AudioFlinger::ThreadBase::getWakeLockTag() { switch (mType) { - case MIXER: - return String16("AudioMix"); - case DIRECT: - return String16("AudioDirectOut"); - case DUPLICATING: - return String16("AudioDup"); - case RECORD: - return String16("AudioIn"); - case OFFLOAD: - return String16("AudioOffload"); - default: - ALOG_ASSERT(false); - return String16("AudioUnknown"); + case MIXER: + return String16("AudioMix"); + case DIRECT: + return String16("AudioDirectOut"); + case DUPLICATING: + return String16("AudioDup"); + case RECORD: + return String16("AudioIn"); + case OFFLOAD: + return String16("AudioOffload"); + default: + ALOG_ASSERT(false); + return String16("AudioUnknown"); } } |