diff options
author | Glenn Kasten <gkasten@google.com> | 2013-08-13 09:14:51 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2013-08-13 09:55:59 -0700 |
commit | 6e2ebe97f2ad0a21907f20f9ee644c4eacbb7a40 (patch) | |
tree | ea9d525f25620253ea86f434452bc37fbad73f76 /services/audioflinger/FastMixer.cpp | |
parent | e198c360d5e75a9b2097844c495c10902e7e8500 (diff) | |
download | frameworks_av-6e2ebe97f2ad0a21907f20f9ee644c4eacbb7a40.zip frameworks_av-6e2ebe97f2ad0a21907f20f9ee644c4eacbb7a40.tar.gz frameworks_av-6e2ebe97f2ad0a21907f20f9ee644c4eacbb7a40.tar.bz2 |
Use curly braces in 'if' to make it easier to add logs
Change-Id: I58b33fefdd8bf703647414157a99a3223be3531c
Diffstat (limited to 'services/audioflinger/FastMixer.cpp')
-rw-r--r-- | services/audioflinger/FastMixer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp index ad9f4f2..4b36987 100644 --- a/services/audioflinger/FastMixer.cpp +++ b/services/audioflinger/FastMixer.cpp @@ -427,8 +427,9 @@ bool FastMixer::threadLoop() } int64_t pts; - if (outputSink == NULL || (OK != outputSink->getNextWriteTimestamp(&pts))) + if (outputSink == NULL || (OK != outputSink->getNextWriteTimestamp(&pts))) { pts = AudioBufferProvider::kInvalidPTS; + } // process() is CPU-bound mixer->process(pts); |