summaryrefslogtreecommitdiffstats
path: root/include/hardware/audio.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-04-03 16:46:46 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-03 16:46:46 -0700
commitb934784bbef12856eb7c825b3b8dc10418eca8c4 (patch)
tree1382b19bdac579d49756f81e7fff9376fe8137dd /include/hardware/audio.h
parent0cacd8d44b3f6ff6ec947bb6b2db1e382ee73bdb (diff)
parent431fc78c112646f43d6d6f51b06d45d248d2f317 (diff)
downloadhardware_libhardware-b934784bbef12856eb7c825b3b8dc10418eca8c4.zip
hardware_libhardware-b934784bbef12856eb7c825b3b8dc10418eca8c4.tar.gz
hardware_libhardware-b934784bbef12856eb7c825b3b8dc10418eca8c4.tar.bz2
Merge "audio: added definitions for audio HAL modules"
Diffstat (limited to 'include/hardware/audio.h')
-rw-r--r--include/hardware/audio.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/hardware/audio.h b/include/hardware/audio.h
index bf6e90a..878b1b2 100644
--- a/include/hardware/audio.h
+++ b/include/hardware/audio.h
@@ -41,6 +41,17 @@ __BEGIN_DECLS
*/
#define AUDIO_HARDWARE_INTERFACE "audio_hw_if"
+/**
+ * List of known audio HAL modules. This is the base name of the audio HAL
+ * library composed of the "audio." prefix, one of the base names below and
+ * a suffix specific to the device.
+ * e.g: audio.primary.goldfish.so or audio.a2dp.default.so
+ */
+
+#define AUDIO_HARDWARE_MODULE_ID_PRIMARY "primary"
+#define AUDIO_HARDWARE_MODULE_ID_A2DP "a2dp"
+#define AUDIO_HARDWARE_MODULE_ID_USB "usb"
+
/**************************************/
/**