Skip to content
Snippets Groups Projects
Commit 8abc0314 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Mark 'session' field in audio HAL AIDL as unused.

The 'session' field is only used by the framework (if at all),
so it being moved to the HAL AIDL to the system-specific part.

Also update the comment on AudioPort.

Bug: 205884982
Test: m
Change-Id: Ia214c343bbf08c7944ea5ebf6140a92821941b46
parent e18cd0a9
No related branches found
No related tags found
No related merge requests found
......@@ -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}
*/
......
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment