commit | 1eedc130e886ad56ed6c1969a9409d6fb84e8fda | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Jul 21 17:45:28 2023 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Mon Jul 24 16:37:18 2023 -0700 |
tree | 72ddab690a76015e8a75df90244fa5feb8c6a3c4 | |
parent | 780fefb331e915d84e7f19176706740476152bb3 [diff] |
audio: Move frame counter to StreamContext Moving frame counter to the StreamContext class enables switching stream drivers on the fly while keeping the frame count monotonically increasing. StreamWorkerCommonLogic now holds a pointer to StreamContext, which makes redundant storing copies of the fields of the latter. Bug: 264712385 Test: atest VtsHalAudioCoreTargetTest Change-Id: If6716f4051c484b52927cbfe4032df7c907eb3a5