summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2022-08-19 19:40:52 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-08-19 19:40:52 +0000
commitdcb956764847f9758aa5243affff438fc003085a (patch)
treee54a0e6508353425729a559aa84d3ead78aab829
parentd10cfead800a8de31ad8a54930d8989b184c7c59 (diff)
parent2f2d43ca04b1d6e27d7c0aa0847ba73e9a920827 (diff)
Merge "Mark 'session' field in audio HAL AIDL as unused." am: 166ddba471 am: 2f2d43ca04
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2189731 Change-Id: I26d7b9b379be6ebc2d0b9bf6da3e0a61d0cf5525 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--media/aidl/android/media/audio/common/AudioPort.aidl5
-rw-r--r--media/aidl/android/media/audio/common/AudioPortExt.aidl5
2 files changed, 7 insertions, 3 deletions
diff --git a/media/aidl/android/media/audio/common/AudioPort.aidl b/media/aidl/android/media/audio/common/AudioPort.aidl
index 84675e3a00a6..d32b840ebfe8 100644
--- a/media/aidl/android/media/audio/common/AudioPort.aidl
+++ b/media/aidl/android/media/audio/common/AudioPort.aidl
@@ -23,8 +23,9 @@ import android.media.audio.common.AudioProfile;
import android.media.audio.common.ExtraAudioDescriptor;
/**
- * Audio port structure describes the capabilities of an audio port
- * as well as its current configuration.
+ * Audio port structure describes the capabilities of an audio port.
+ * This is a "blueprint" which contains all the possible configurations
+ * that are supported by the port.
*
* {@hide}
*/
diff --git a/media/aidl/android/media/audio/common/AudioPortExt.aidl b/media/aidl/android/media/audio/common/AudioPortExt.aidl
index c4681cbb182e..eadc0ab7c7c5 100644
--- a/media/aidl/android/media/audio/common/AudioPortExt.aidl
+++ b/media/aidl/android/media/audio/common/AudioPortExt.aidl
@@ -34,6 +34,9 @@ union AudioPortExt {
AudioPortDeviceExt device;
/** Information specific to mix ports. */
AudioPortMixExt mix;
- /** Audio session identifier. */
+ /**
+ * NOT USED. Framework audio session identifier.
+ * Use android.media.AudioPortExtSys.session on the system side.
+ */
int session;
}