diff options
author | Eric Laurent <elaurent@google.com> | 2011-08-02 17:12:00 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2011-08-02 19:30:37 -0700 |
commit | ed9928c76d107d02452a25a0d62803197c47f673 (patch) | |
tree | 2072f006883f772d6404b7a977cab19d9c44d0df | |
parent | d6afef62ff8ea1fde3a060ac5c5d887c7523b359 (diff) | |
download | libhardware-ed9928c76d107d02452a25a0d62803197c47f673.tar.gz |
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
-rw-r--r-- | include/hardware/audio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hardware/audio.h b/include/hardware/audio.h index 36ff3995..75c5773f 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" |