summaryrefslogtreecommitdiffstats
path: root/services/audioflinger
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-11-20 19:23:42 -0800
committerSteve Kondik <steve@cyngn.com>2015-11-23 17:08:28 -0800
commit25c999ffe823890b1e0c86f64ee427e4ecae1c39 (patch)
tree410a7b55e99eb7be491309ddc4cc8f26eb8afa68 /services/audioflinger
parent7c02c8d90621cf4c97eaf3b5fbe75c875f9a0aa4 (diff)
downloadframeworks_av-25c999ffe823890b1e0c86f64ee427e4ecae1c39.zip
frameworks_av-25c999ffe823890b1e0c86f64ee427e4ecae1c39.tar.gz
frameworks_av-25c999ffe823890b1e0c86f64ee427e4ecae1c39.tar.bz2
audioflinger: Fix compilation with debug enabled
Change-Id: I8c459fd5a6530d7fc253f96400208dc6911b68ec
Diffstat (limited to 'services/audioflinger')
-rw-r--r--services/audioflinger/FastCapture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/FastCapture.cpp b/services/audioflinger/FastCapture.cpp
index 79ac12b..04ed08f 100644
--- a/services/audioflinger/FastCapture.cpp
+++ b/services/audioflinger/FastCapture.cpp
@@ -105,7 +105,7 @@ void FastCapture::onStateChange()
mFormat = mInputSource->format();
mSampleRate = Format_sampleRate(mFormat);
unsigned channelCount = Format_channelCount(mFormat);
- ALOG_ASSERT(channelCount >= 1 && channelCount <= FCC_8);
+ ALOG_ASSERT(channelCount >= 1 && channelCount <= 8);
}
dumpState->mSampleRate = mSampleRate;
eitherChanged = true;