summaryrefslogtreecommitdiffstats
path: root/audio/common
diff options
context:
space:
mode:
authorKevin Rocard <krocard@google.com>2018-02-14 17:31:03 -0800
committerKevin Rocard <krocard@google.com>2018-02-14 17:44:12 -0800
commitbb90d8974673208a66721a2ea240e0a36326de3d (patch)
treeacac50e610c4c0d08e06d4c7c9d24d74458afe12 /audio/common
parent0a8134832d1317f914ede5269f351daf9e900ac3 (diff)
downloadandroid_hardware_interfaces-bb90d8974673208a66721a2ea240e0a36326de3d.tar.gz
android_hardware_interfaces-bb90d8974673208a66721a2ea240e0a36326de3d.tar.bz2
android_hardware_interfaces-bb90d8974673208a66721a2ea240e0a36326de3d.zip
Audio HAL V4: Switch back to 32 bit AudioDevice
Switching to 64 bit has proven to be too much refactor and the need is not immediate. Instead in the next version of the Audio HAL, AudioDevice will no longer be a bitfield and when multiple devices will need to be passed, a list will be used. Bug: 38184704 Test: mm Change-Id: I8de14fc4ee69fb70fc1c4275b568093a5d0aec1b Signed-off-by: Kevin Rocard <krocard@google.com>
Diffstat (limited to 'audio/common')
-rw-r--r--audio/common/4.0/types.hal2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/common/4.0/types.hal b/audio/common/4.0/types.hal
index d4c6efe2c..3675b7ccd 100644
--- a/audio/common/4.0/types.hal
+++ b/audio/common/4.0/types.hal
@@ -485,7 +485,7 @@ enum AudioMode : int32_t {
};
@export(name="", value_prefix="AUDIO_DEVICE_")
-enum AudioDevice : uint64_t {
+enum AudioDevice : uint32_t {
NONE = 0x0,
/** reserved bits */
BIT_IN = 0x80000000,