diff options
author | Ben Romberger <bromberg@codeaurora.org> | 2010-08-26 00:11:51 -0700 |
---|---|---|
committer | Ben Romberger <bromberg@codeaurora.org> | 2010-09-30 18:02:30 -0700 |
commit | 53ae367c8b6c0dfbc012545d6d37549f62a00c02 (patch) | |
tree | c09ee2b5a5d8b4ffe6f3747bbe8fb19713400f44 | |
parent | 4c86cbfbb95188ca480b801f9385898f4cabcf37 (diff) | |
download | bionic-53ae367c8b6c0dfbc012545d6d37549f62a00c02.zip bionic-53ae367c8b6c0dfbc012545d6d37549f62a00c02.tar.gz bionic-53ae367c8b6c0dfbc012545d6d37549f62a00c02.tar.bz2 |
bionic: Adds Audio Calibration Driver interface
Adds interface for the Audio Calibration Driver
Change-Id:Icd4a5181d4d068fdff9409d2ba494832e514248b
-rw-r--r-- | libc/kernel/common/linux/msm_audio_acdb.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/msm_audio_acdb.h b/libc/kernel/common/linux/msm_audio_acdb.h new file mode 100644 index 0000000..680889d --- /dev/null +++ b/libc/kernel/common/linux/msm_audio_acdb.h @@ -0,0 +1,35 @@ +/**************************************************************************** + **************************************************************************** + *** + *** 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. + *** + **************************************************************************** + ****************************************************************************/ +#ifndef __MSM_AUDIO_ACDB_H +#define __MSM_AUDIO_ACDB_H + +#include <linux/msm_audio.h> + +#define AUDIO_SET_VOCPROC_CAL _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+0), unsigned) +#define AUDIO_GET_VOCPROC_CAL _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+1), unsigned) +#define AUDIO_SET_VOCPROC_STREAM_CAL _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+2), unsigned) +#define AUDIO_GET_VOCPROC_STREAM_CAL _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+3), unsigned) +#define AUDIO_SET_VOCPROC_VOL_CAL _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+4), unsigned) +#define AUDIO_GET_VOCPROC_VOL_CAL _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+5), unsigned) +#define AUDIO_SET_AUDPROC_CAL _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+6), unsigned) +#define AUDIO_GET_AUDPROC_CAL _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+7), unsigned) +#define AUDIO_SET_AUDPROC_STREAM_CAL _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+8), unsigned) +#define AUDIO_GET_AUDPROC_STREAM_CAL _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+9), unsigned) +#define AUDIO_SET_AUDPROC_VOL_CAL _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+10), unsigned) +#define AUDIO_GET_AUDPROC_VOL_CAL _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM+11), unsigned) + +struct cal_block { + int32_t cal_size; + uint32_t cal_offset; +}; + +#endif |