summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShunkai Yao <yaoshunkai@google.com>2024-02-05 20:38:02 +0000
committerShunkai Yao <yaoshunkai@google.com>2024-02-05 22:10:51 +0000
commit95b76c3753195355bbed346c8e9c75b8cf5ff70a (patch)
tree7554c52201f9884c9ca338c064249939bb38b5b3
parent5ffe19e246a8c7e7ec47caa71ad4c97930d901b0 (diff)
downloadmedia-95b76c3753195355bbed346c8e9c75b8cf5ff70a.tar.gz
Add version number of IEffect::reopen introduced
Bug: 322780092 Test: latest libAudioHal with V1 effect HAL Test: atest VtsHalAudioEffectTargetTest Change-Id: Ic831877d948127967b5a26fdb49d687be875a710
-rw-r--r--audio/include/system/audio_effects/aidl_effects_utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/include/system/audio_effects/aidl_effects_utils.h b/audio/include/system/audio_effects/aidl_effects_utils.h
index e039d7db..e6583a18 100644
--- a/audio/include/system/audio_effects/aidl_effects_utils.h
+++ b/audio/include/system/audio_effects/aidl_effects_utils.h
@@ -25,6 +25,11 @@
namespace aidl::android::hardware::audio::effect {
/**
+ * The first AIDL version that introduced the IEffect::reopen method.
+ */
+static constexpr int32_t kReopenSupportedVersion = 2;
+
+/**
* EventFlag to indicate that the client has written data to the FMQ, align with EffectHalAidl.
* TODO: b/277900230, Define in future AIDL version.
*/