| commit | 1f82f9569d257adc1d6d1c9a58e542c3c99c0109 | [log] [tgz] |
|---|---|---|
| author | Andy Hung <hunga@google.com> | Mon Nov 28 19:01:02 2016 -0800 |
| committer | Andy Hung <hunga@google.com> | Mon Dec 05 16:25:54 2016 -0800 |
| tree | 9b634a2a96b4609a1a5a8fe1a7b68d5eb5338700 | |
| parent | 83cb42836108742727ba8fc0bf24ab832001d687 [diff] [blame] |
Log audio information to ensure complete delivery Test: Audio playback Bug: 30572472 Change-Id: Ibad6fc202692cd3480ae726627252afdead083f3
diff --git a/media/libmedia/AudioTrack.cpp b/media/libmedia/AudioTrack.cpp index 7663fef..d322f05 100644 --- a/media/libmedia/AudioTrack.cpp +++ b/media/libmedia/AudioTrack.cpp
@@ -653,6 +653,8 @@ mState = STATE_STOPPING; } else { mState = STATE_STOPPED; + ALOGD_IF(mSharedBuffer == nullptr, + "stop() called with %u frames delivered", mReleased.value()); mReleased = 0; }