OSDN Git Service

Add parameter key and values for hearing aid compatibility mode
authorEric Laurent <elaurent@google.com>
Fri, 25 Jul 2014 17:10:11 +0000 (12:10 -0500)
committerEric Laurent <elaurent@google.com>
Wed, 30 Jul 2014 16:49:04 +0000 (09:49 -0700)
Change-Id: Ibdbe102bd49dbf228af5d4327b1868849c9d754e

include/hardware/audio.h

index 4ff4793..fa6ab57 100644 (file)
@@ -94,6 +94,12 @@ __BEGIN_DECLS
 #define AUDIO_PARAMETER_VALUE_TTY_HCO "tty_hco"
 #define AUDIO_PARAMETER_VALUE_TTY_FULL "tty_full"
 
+/* Hearing Aid Compatibility - Telecoil (HAC-T) mode on/off
+   Strings must be in sync with CallFeaturesSetting.java */
+#define AUDIO_PARAMETER_KEY_HAC "HACSetting"
+#define AUDIO_PARAMETER_VALUE_HAC_ON "ON"
+#define AUDIO_PARAMETER_VALUE_HAC_OFF "OFF"
+
 /* A2DP sink address set by framework */
 #define AUDIO_PARAMETER_A2DP_SINK_ADDRESS "a2dp_sink_address"