summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShunkai Yao <yaoshunkai@google.com>2024-02-06 18:23:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-02-06 18:23:57 +0000
commit1d199ce8e42e5a05e8bb076bc636d60bac18efa6 (patch)
tree7554c52201f9884c9ca338c064249939bb38b5b3
parent5ffe19e246a8c7e7ec47caa71ad4c97930d901b0 (diff)
parent95b76c3753195355bbed346c8e9c75b8cf5ff70a (diff)
downloadmedia-1d199ce8e42e5a05e8bb076bc636d60bac18efa6.tar.gz
Merge "Add version number of IEffect::reopen introduced" into main
-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.
*/