exynos: audiohal: Add missing device and stream definitions
* For use by libaudioproxy
Change-Id: I2300ff20add9ea86e02637177c6a7576c81df1b3
diff --git a/include/libaudio/audiohal/audio_devices.h b/include/libaudio/audiohal/audio_devices.h
index b4b0bac..ac0d6ab 100644
--- a/include/libaudio/audiohal/audio_devices.h
+++ b/include/libaudio/audiohal/audio_devices.h
@@ -37,6 +37,10 @@
DEVICE_AUX_DIGITAL,
DEVICE_LINE_OUT,
DEVICE_SPEAKER_AND_LINEOUT,
+ DEVICE_SPEAKER_AND_USB_HEADSET,
+ DEVICE_SPEAKER_DEX,
+ DEVICE_SPEAKER_DUAL,
+ DEVICE_SPEAKER2,
// Special Playback Devices
DEVICE_CALL_FWD,
@@ -52,6 +56,7 @@
DEVICE_HANDSET_MIC,
DEVICE_SPEAKER_MIC,
DEVICE_HEADPHONE_MIC,
+ DEVICE_SPEAKER_DEX_MIC,
DEVICE_SUB_MIC,
DEVICE_STEREO_MIC,
diff --git a/include/libaudio/audiohal/audio_streams.h b/include/libaudio/audiohal/audio_streams.h
index ffc9d9a..41c7a61 100644
--- a/include/libaudio/audiohal/audio_streams.h
+++ b/include/libaudio/audiohal/audio_streams.h
@@ -33,6 +33,7 @@
ASTREAM_PLAYBACK_USB_DEVICE, // For USB Output Profile
ASTREAM_PLAYBACK_AUX_DIGITAL, // For HDMI/DP Profile
ASTREAM_PLAYBACK_INCALL_MUSIC, // For music uplink during Call
+ ASTREAM_PLAYBACK_DIRECT, // For Direct Output(5.1, 6.1, 7.1channel) Profile
ASTREAM_CAPTURE_NO_ATTRIBUTE, // For No Attributes Input Profile
ASTREAM_CAPTURE_PRIMARY, // For Primary Input Profile
diff --git a/include/libaudio/audiohal/audio_tables.h b/include/libaudio/audiohal/audio_tables.h
index c9d9dab..6143553 100644
--- a/include/libaudio/audiohal/audio_tables.h
+++ b/include/libaudio/audiohal/audio_tables.h
@@ -31,6 +31,7 @@
[ASTREAM_PLAYBACK_USB_DEVICE] = "usb_out",
[ASTREAM_PLAYBACK_AUX_DIGITAL] = "aux_out",
[ASTREAM_PLAYBACK_INCALL_MUSIC] = "incall_music",
+ [ASTREAM_PLAYBACK_DIRECT] = "direct_out",
[ASTREAM_CAPTURE_NO_ATTRIBUTE] = "no_attribute_in",
[ASTREAM_CAPTURE_PRIMARY] = "primary_in",
@@ -166,6 +167,10 @@
[DEVICE_AUX_DIGITAL] = "aux-digital",
[DEVICE_LINE_OUT] = "lineout",
[DEVICE_SPEAKER_AND_LINEOUT] = "speaker-lineout",
+ [DEVICE_SPEAKER_AND_USB_HEADSET] = "speaker-usb-headset",
+ [DEVICE_SPEAKER_DEX] = "dex-speaker",
+ [DEVICE_SPEAKER_DUAL] = "dual-speaker",
+ [DEVICE_SPEAKER2] = "speaker2",
// Special Playback Devices
[DEVICE_CALL_FWD] = "",
@@ -181,6 +186,7 @@
[DEVICE_HANDSET_MIC] = "handset-mic",
[DEVICE_SPEAKER_MIC] = "speaker-mic",
[DEVICE_HEADPHONE_MIC] = "headphone-mic",
+ [DEVICE_SPEAKER_DEX_MIC] = "dex-speaker-mic",
[DEVICE_SUB_MIC] = "2nd-mic",
[DEVICE_STEREO_MIC] = "dualmic",