commit | 4c5129b410884ec0400cbe65fce56d0ade12d11b | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Fri Apr 28 15:17:32 2017 -0700 |
committer | Phil Burk <philburk@google.com> | Tue May 02 16:21:03 2017 -0700 |
tree | 9f17ebb0f82552f0b0015d3b07d0ab0bb43b4349 | |
parent | c5cbb87d00ead068a7088db4060bce1c0e699b8c [diff] [blame] |
aaudio: Fix getFramesWritten() for callback mode. Plus other small fixes for CTS and cleanup Bug: 37910599 Test: test_aaudio.cpp Change-Id: I65a23daf99e9de857d3ce9fd12e9f11c614e298e Signed-off-by: Phil Burk <philburk@google.com>
diff --git a/media/libaaudio/src/client/AudioStreamInternal.h b/media/libaaudio/src/client/AudioStreamInternal.h index e550ba3..18a55cf 100644 --- a/media/libaaudio/src/client/AudioStreamInternal.h +++ b/media/libaaudio/src/client/AudioStreamInternal.h
@@ -77,6 +77,7 @@ int32_t getFramesPerBurst() const override; int64_t getFramesRead() override; + int64_t getFramesWritten() override; int32_t getXRunCount() const override { return mXRunCount;