summaryrefslogtreecommitdiffstats
path: root/include/hardware/audio.h
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2012-08-16 13:56:03 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2012-09-06 18:33:04 -0700
commit88b79cb001d1c733275c7cad490c32b143f78860 (patch)
treebc667d880b18612dd8021a4702c3ce9fb8b3978b /include/hardware/audio.h
parent3f014b988ea901ccc249d05ab11bcfd6010878d7 (diff)
downloadhardware_libhardware-88b79cb001d1c733275c7cad490c32b143f78860.zip
hardware_libhardware-88b79cb001d1c733275c7cad490c32b143f78860.tar.gz
hardware_libhardware-88b79cb001d1c733275c7cad490c32b143f78860.tar.bz2
Add audio module for remote submix
New definitions of audio devices for remote submix: one representing a sink for writing the audio buffers that won't be played directly locally, another representing the audio source that can be read from to obtain the audio mix. New audio hardware module encapsulating the submix loop functionality. Create a Pipe to serve as non-blocking audio ring buffer between the output device (the sink) and the input device (the source). Change-Id: I527f4721a69ced0430a99ebba3b4db7d419f2bb2
Diffstat (limited to 'include/hardware/audio.h')
-rw-r--r--include/hardware/audio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware/audio.h b/include/hardware/audio.h
index 26e9ea9..4fd73a2 100644
--- a/include/hardware/audio.h
+++ b/include/hardware/audio.h
@@ -65,6 +65,7 @@ __BEGIN_DECLS
#define AUDIO_HARDWARE_MODULE_ID_PRIMARY "primary"
#define AUDIO_HARDWARE_MODULE_ID_A2DP "a2dp"
#define AUDIO_HARDWARE_MODULE_ID_USB "usb"
+#define AUDIO_HARDWARE_MODULE_ID_REMOTE_SUBMIX "r_submix"
/**************************************/