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:
commit
d62c8d7d92
1 changed files with 9 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue