From 88b79cb001d1c733275c7cad490c32b143f78860 Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Thu, 16 Aug 2012 13:56:03 -0700 Subject: 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 --- include/hardware/audio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/hardware/audio.h') 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" /**************************************/ -- cgit v1.1