commit | ee86ceee6ce8182766fa8c191b043f0b865f8bce | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Tue Dec 13 19:19:53 2022 -0800 |
committer | Andy Hung <hunga@google.com> | Mon May 22 15:05:54 2023 -0700 |
tree | 2578b3ed17ee3e4c3fd27a3a82d0a3d7e75242b6 | |
parent | 4a3734db34015ba1494419eff6b94c2cbf2fd11d [diff] [blame] |
VolumeShaper: Update Direct/Offload to use media time Test: atest --host monotonicframecounter_tests Test: atest VolumeShaperTest Bug: 253083520 Merged-In: I0d8d73e70ed52c760cd483ebdb62e0f10b7f642d Change-Id: I0d8d73e70ed52c760cd483ebdb62e0f10b7f642d
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h index 63ad4e6..e4fd3fc 100644 --- a/services/audioflinger/Threads.h +++ b/services/audioflinger/Threads.h
@@ -1581,6 +1581,8 @@ virtual void onAddNewTrack_l(); const audio_offload_info_t mOffloadInfo; + + audioflinger::MonotonicFrameCounter mMonotonicFrameCounter; // for VolumeShaper bool mVolumeShaperActive = false; DirectOutputThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output,