summaryrefslogtreecommitdiffstats
path: root/include/hardware/audio.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-04-03 12:07:02 -0700
committerEric Laurent <elaurent@google.com>2012-04-03 16:01:17 -0700
commit431fc78c112646f43d6d6f51b06d45d248d2f317 (patch)
tree2d554a28d5e2eed30c38f00e5567d76bcd0e277d /include/hardware/audio.h
parente8da6bf1cc12a45a6a273d4de6f5b935081c63e5 (diff)
downloadhardware_libhardware-431fc78c112646f43d6d6f51b06d45d248d2f317.zip
hardware_libhardware-431fc78c112646f43d6d6f51b06d45d248d2f317.tar.gz
hardware_libhardware-431fc78c112646f43d6d6f51b06d45d248d2f317.tar.bz2
audio: added definitions for audio HAL modules
Change-Id: I16f8b42ab5de503d38086413b83e934ac9aa1f24
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 af4df04..65e754d 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"
+
/**************************************/
/**