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
This commit is contained in:
@@ -23,8 +23,9 @@ import android.media.audio.common.AudioProfile;
|
|||||||
import android.media.audio.common.ExtraAudioDescriptor;
|
import android.media.audio.common.ExtraAudioDescriptor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Audio port structure describes the capabilities of an audio port
|
* Audio port structure describes the capabilities of an audio port.
|
||||||
* as well as its current configuration.
|
* This is a "blueprint" which contains all the possible configurations
|
||||||
|
* that are supported by the port.
|
||||||
*
|
*
|
||||||
* {@hide}
|
* {@hide}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -34,6 +34,9 @@ union AudioPortExt {
|
|||||||
AudioPortDeviceExt device;
|
AudioPortDeviceExt device;
|
||||||
/** Information specific to mix ports. */
|
/** Information specific to mix ports. */
|
||||||
AudioPortMixExt mix;
|
AudioPortMixExt mix;
|
||||||
/** Audio session identifier. */
|
/**
|
||||||
|
* NOT USED. Framework audio session identifier.
|
||||||
|
* Use android.media.AudioPortExtSys.session on the system side.
|
||||||
|
*/
|
||||||
int session;
|
int session;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user