From f0c263b54798c4f7491712efba45ab2f06ed3d9c Mon Sep 17 00:00:00 2001 From: Shunkai Yao Date: Wed, 2 Nov 2022 00:16:17 +0000 Subject: [PATCH] Use AIDL effect bundle in effectserviceexampleimpl. Bug: 255361653 Test: atest VtsHalAudioEffectTargetTest atest VtsHalAudioEffectFactoryTargetTest atest VtsHalEqualizerTargetTest Change-Id: Ia50ff5066e007f6a8569114e36f0e4565a6100ea --- audio/aidl/default/Android.bp | 1 + audio/aidl/default/include/effect-impl/EffectWorker.h | 1 + 2 files changed, 2 insertions(+) diff --git a/audio/aidl/default/Android.bp b/audio/aidl/default/Android.bp index e16b33860a..0a92e99254 100644 --- a/audio/aidl/default/Android.bp +++ b/audio/aidl/default/Android.bp @@ -109,6 +109,7 @@ cc_binary { defaults: ["aidlaudioeffectservice_defaults"], shared_libs: [ "libbassboostsw", + "libbundleaidl", "libdynamicsprocessingsw", "libequalizersw", "libhapticgeneratorsw", diff --git a/audio/aidl/default/include/effect-impl/EffectWorker.h b/audio/aidl/default/include/effect-impl/EffectWorker.h index a297937734..6a78eab4a0 100644 --- a/audio/aidl/default/include/effect-impl/EffectWorker.h +++ b/audio/aidl/default/include/effect-impl/EffectWorker.h @@ -62,6 +62,7 @@ class EffectWorker : public EffectThread { } // must implement by each effect implementation + // TODO: consider if this interface need adjustment to handle in-place processing virtual IEffect::Status effectProcessImpl(float* in, float* out, int processSamples) = 0; private: