commit | 2148bf0e79c436b8764b9edc4c8f2730cce98a32 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Mon Nov 28 19:01:02 2016 -0800 |
committer | Andy Hung <hunga@google.com> | Thu Dec 01 17:36:41 2016 -0800 |
tree | 8d380e3f69e99d4ebf76c08c51a5833dc0eca2ff | |
parent | b54cab90d4bf84745a57232080d72a50c3b731da [diff] [blame] |
Log audio information to ensure complete delivery Test: Audio playback Bug: 30572472 Change-Id: Ibad6fc202692cd3480ae726627252afdead083f3
diff --git a/media/libaudioclient/AudioTrack.cpp b/media/libaudioclient/AudioTrack.cpp index 3c7e8b7..aef7dfb 100644 --- a/media/libaudioclient/AudioTrack.cpp +++ b/media/libaudioclient/AudioTrack.cpp
@@ -671,6 +671,8 @@ mState = STATE_STOPPING; } else { mState = STATE_STOPPED; + ALOGD_IF(mSharedBuffer == nullptr, + "stop() called with %u frames delivered", mReleased.value()); mReleased = 0; }