Merge "audio: skip data path for offload Virtualizer" into main am: 7291b19db1

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3042592

Change-Id: Id58e0288698d3b03d39b05f5ac671b67ce559982
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2024-04-17 04:10:45 +00:00 committed by Automerger Merge Worker
commit d62c8d7d92

View file

@ -150,8 +150,15 @@ class VirtualizerProcessTest : public ::testing::TestWithParam<VirtualizerProces
std::tie(mFactory, mDescriptor) = std::get<PROCESS_INSTANCE_NAME>(GetParam());
}
void SetUp() override { ASSERT_NO_FATAL_FAILURE(SetUpVirtualizer()); }
void TearDown() override { TearDownVirtualizer(); }
void SetUp() override {
SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags);
ASSERT_NO_FATAL_FAILURE(SetUpVirtualizer());
}
void TearDown() override {
SKIP_TEST_IF_DATA_UNSUPPORTED(mDescriptor.common.flags);
ASSERT_NO_FATAL_FAILURE(TearDownVirtualizer());
}
void generateInput(std::vector<float>& buffer) {
if (mZeroInput) {