diff options
author | Eric Laurent <elaurent@google.com> | 2019-11-12 14:59:08 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2020-01-10 11:16:12 -0800 |
commit | 5f9bb1b0278357258621dcfde20e2edf2e01f4b3 (patch) | |
tree | ddc328dae4512541681be21840c886b4aa8e5c96 /audio | |
parent | a676535934827b62263cb9b2d3133ae514d94600 (diff) | |
download | platform_hardware_interfaces-5f9bb1b0278357258621dcfde20e2edf2e01f4b3.tar.gz platform_hardware_interfaces-5f9bb1b0278357258621dcfde20e2edf2e01f4b3.tar.bz2 platform_hardware_interfaces-5f9bb1b0278357258621dcfde20e2edf2e01f4b3.zip |
audio: add audio session for device effects
Add specific audio session ID for effects applied to a
particular audio device.
Bug: 136294538
Test: make
Change-Id: Iea3e3a07f404e1075844422c740d2dc4d5163598
Merged-In: Iea3e3a07f404e1075844422c740d2dc4d5163598
Diffstat (limited to 'audio')
-rw-r--r-- | audio/common/6.0/types.hal | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/common/6.0/types.hal b/audio/common/6.0/types.hal index c76f678ac1..da506d66e0 100644 --- a/audio/common/6.0/types.hal +++ b/audio/common/6.0/types.hal @@ -157,6 +157,11 @@ typedef int32_t AudioSession; @export(name="audio_session_t", value_prefix="AUDIO_SESSION_") enum AudioSessionConsts : int32_t { /** + * Session for effects attached to a particular sink or source audio device + * (e.g an effect only applied to a speaker) + */ + DEVICE = -2, + /** * Session for effects attached to a particular output stream * (value must be less than 0) */ |