summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashant Malani <pmalani@google.com>2015-04-16 09:02:44 -0700
committerPrashant Malani <pmalani@google.com>2015-05-21 23:12:42 +0000
commit7235559cb110c22b714e21f260b4f28ebbcf59f5 (patch)
tree0ecd0eaa15a658c51db0159e83d769e513865b3f
parentde37868c93e890660a316e119efd79b36dca02d0 (diff)
downloadmsm8x26-7235559cb110c22b714e21f260b4f28ebbcf59f5.tar.gz
msm8x26: Add audio header for voice call
Change-Id: Ie93b2d28aa1118068934bff70930227b20d29c6b
-rw-r--r--kernel-headers/sound/voice_params.h30
-rw-r--r--original-kernel-headers/sound/voice_params.h14
2 files changed, 44 insertions, 0 deletions
diff --git a/kernel-headers/sound/voice_params.h b/kernel-headers/sound/voice_params.h
new file mode 100644
index 0000000..2ca7d08
--- /dev/null
+++ b/kernel-headers/sound/voice_params.h
@@ -0,0 +1,30 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ *** To edit the content of this header, modify the corresponding
+ *** source file (e.g. under external/kernel-headers/original/) then
+ *** run bionic/libc/kernel/tools/update_all.py
+ ***
+ *** Any manual change here will be lost the next time this script will
+ *** be run. You've been warned!
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef __VOICE_PARAMS_H__
+#define __VOICE_PARAMS_H__
+#include <linux/types.h>
+#include <sound/asound.h>
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+enum voice_lch_mode {
+ VOICE_LCH_START = 1,
+ VOICE_LCH_STOP
+};
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+#define SNDRV_VOICE_IOCTL_LCH _IOW('U', 0x00, enum voice_lch_mode)
+#endif
diff --git a/original-kernel-headers/sound/voice_params.h b/original-kernel-headers/sound/voice_params.h
new file mode 100644
index 0000000..43e3b9d
--- /dev/null
+++ b/original-kernel-headers/sound/voice_params.h
@@ -0,0 +1,14 @@
+#ifndef __VOICE_PARAMS_H__
+#define __VOICE_PARAMS_H__
+
+#include <linux/types.h>
+#include <sound/asound.h>
+
+enum voice_lch_mode {
+ VOICE_LCH_START = 1,
+ VOICE_LCH_STOP
+};
+
+#define SNDRV_VOICE_IOCTL_LCH _IOW('U', 0x00, enum voice_lch_mode)
+
+#endif