commit | ba55d5a5dabc1ba002ecae705df44f980b5d8520 | [log] [tgz] |
---|---|---|
author | Ram Mohan <ram.mohan@ittiam.com> | Tue Jan 11 20:23:44 2022 +0530 |
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Thu Aug 18 13:58:41 2022 -0700 |
tree | d936ef03a23c77c47fdb55be72ce2d2cb489e75d | |
parent | d7da8b411e58c074eaef0230d3e0eb111d2c9f38 [diff] [blame] |
Add audiotrack unit tests Bug: 215781479 Test: atest audiotrack_tests Merged-In: I63511129d5716b4fff18161692f195442b4ed16c Change-Id: I63511129d5716b4fff18161692f195442b4ed16c
diff --git a/media/libaudioclient/tests/audio_test_utils.h b/media/libaudioclient/tests/audio_test_utils.h index 2e0d14d..8885059 100644 --- a/media/libaudioclient/tests/audio_test_utils.h +++ b/media/libaudioclient/tests/audio_test_utils.h
@@ -62,9 +62,9 @@ status_t create(); sp<AudioTrack> getAudioTrackHandle(); status_t start(); - status_t waitForConsumption(); + status_t waitForConsumption(bool testSeek = false); status_t fillBuffer(); - status_t onProcess(); + status_t onProcess(bool testSeek = false); void stop(); bool mStopPlaying;