summaryrefslogtreecommitdiffstats
path: root/include/hardware/audio.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-08-02 17:12:00 -0700
committerEric Laurent <elaurent@google.com>2011-08-02 19:30:37 -0700
commited9928c76d107d02452a25a0d62803197c47f673 (patch)
tree2072f006883f772d6404b7a977cab19d9c44d0df /include/hardware/audio.h
parentd6afef62ff8ea1fde3a060ac5c5d887c7523b359 (diff)
downloadhardware_libhardware-ed9928c76d107d02452a25a0d62803197c47f673.zip
hardware_libhardware-ed9928c76d107d02452a25a0d62803197c47f673.tar.gz
hardware_libhardware-ed9928c76d107d02452a25a0d62803197c47f673.tar.bz2
audio HAL: add defines for BT NREC parameter
Added definitions of keys and values used to enable or disable AEC and NS via set_parameters according to BT headset capabilities. Change-Id: Id3fba06edfe77e2832b8256c0c4c46eeef17b816
Diffstat (limited to 'include/hardware/audio.h')
-rw-r--r--include/hardware/audio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hardware/audio.h b/include/hardware/audio.h
index 36ff399..75c5773 100644
--- a/include/hardware/audio.h
+++ b/include/hardware/audio.h
@@ -43,6 +43,11 @@ __BEGIN_DECLS
/**************************************/
+/* BT SCO Noise Reduction + Echo Cancellation parameters */
+#define AUDIO_PARAMETER_KEY_BT_NREC "bt_headset_nrec"
+#define AUDIO_PARAMETER_VALUE_ON "on"
+#define AUDIO_PARAMETER_VALUE_OFF "off"
+
/* standard audio parameters that the HAL may need to handle */
#define AUDIO_PARAMETER_STREAM_ROUTING "routing"
#define AUDIO_PARAMETER_STREAM_FORMAT "format"