commit | 762365c3ee5f212d4995e002e1c53b221b587c92 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Mon Dec 10 16:02:16 2018 -0800 |
committer | Phil Burk <philburk@google.com> | Thu Dec 13 17:39:26 2018 -0800 |
tree | ec2322a17d6bb3c9c741f0b6915239c70fa161a0 | |
parent | d00c4607a5f7d25dfe925a20a1fc5fd7cfcee67a [diff] [blame] |
aaudio: suspend a stream when its queue is full This will prevent log spam when AAUDIO_CALLBACK_RESULT_STOP is returned from an audio callback. Bug: 120845500 Test: test_return_stop.cpp Change-Id: Icfe1541d6fa7b045285ac3dfbb75dfed5424d49b
diff --git a/media/libaaudio/src/client/AudioStreamInternalPlay.cpp b/media/libaaudio/src/client/AudioStreamInternalPlay.cpp index 2ae37a5..9af47b2 100644 --- a/media/libaaudio/src/client/AudioStreamInternalPlay.cpp +++ b/media/libaaudio/src/client/AudioStreamInternalPlay.cpp
@@ -293,7 +293,7 @@ break; } } else if (callbackResult == AAUDIO_CALLBACK_RESULT_STOP) { - ALOGV("%s(): callback returned AAUDIO_CALLBACK_RESULT_STOP", __func__); + ALOGD("%s(): callback returned AAUDIO_CALLBACK_RESULT_STOP", __func__); break; } }