Merge "AudioFlinger: fix build with debug log enabled"
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index 783327f..744a7df 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -2589,7 +2589,7 @@
                 // the minimum track buffer size is normally twice the number of frames necessary
                 // to fill one buffer and the resampler should not leave more than one buffer worth
                 // of unreleased frames after each pass, but just in case...
-                ALOG_ASSERT(minFrames <= cblk->frameCount);
+                ALOG_ASSERT(minFrames <= cblk->frameCount_);
             }
         }
         if ((track->framesReady() >= minFrames) && track->isReady() &&