From 25c999ffe823890b1e0c86f64ee427e4ecae1c39 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Fri, 20 Nov 2015 19:23:42 -0800 Subject: audioflinger: Fix compilation with debug enabled Change-Id: I8c459fd5a6530d7fc253f96400208dc6911b68ec --- services/audioflinger/FastCapture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/audioflinger') 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; -- cgit v1.1