189994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava/****************************************************************************
289994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ****************************************************************************
389994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***
489994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***   This header was automatically generated from a Linux kernel header
589994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***   of the same name, to make information necessary for userspace to
689994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***   call into the kernel available to libc.  It contains only constants,
789994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***   structures, and macros generated from the original header, and thus,
889994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***   contains no copyrightable information.
989994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***
1089994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***   To edit the content of this header, modify the corresponding
1189994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***   source file (e.g. under external/kernel-headers/original/) then
1289994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***   run bionic/libc/kernel/tools/update_all.py
1389994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***
1489994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***   Any manual change here will be lost the next time this script will
1589994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***   be run. You've been warned!
1689994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ***
1789994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ****************************************************************************
1889994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava ****************************************************************************/
1989994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava#ifndef _UAPI_MSM_AUDIO_WMA_H
2089994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava#define _UAPI_MSM_AUDIO_WMA_H
2189994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava#define AUDIO_GET_WMA_CONFIG _IOR(AUDIO_IOCTL_MAGIC,   (AUDIO_MAX_COMMON_IOCTL_NUM+0), unsigned)
2289994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava#define AUDIO_SET_WMA_CONFIG _IOW(AUDIO_IOCTL_MAGIC,   (AUDIO_MAX_COMMON_IOCTL_NUM+1), unsigned)
2389994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2489994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava#define AUDIO_GET_WMA_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC,   (AUDIO_MAX_COMMON_IOCTL_NUM+2), struct msm_audio_wma_config_v2)
2589994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava#define AUDIO_SET_WMA_CONFIG_V2 _IOW(AUDIO_IOCTL_MAGIC,   (AUDIO_MAX_COMMON_IOCTL_NUM+3), struct msm_audio_wma_config_v2)
2689994223828a63a8316f2813a24449eb8d68890aVineeta Srivastavastruct msm_audio_wma_config {
2789994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava unsigned short armdatareqthr;
2889994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2989994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava unsigned short channelsdecoded;
3089994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava unsigned short wmabytespersec;
3189994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava unsigned short wmasamplingfreq;
3289994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava unsigned short wmaencoderopts;
3389994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3489994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava};
3589994223828a63a8316f2813a24449eb8d68890aVineeta Srivastavastruct msm_audio_wma_config_v2 {
3689994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava unsigned short format_tag;
3789994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava unsigned short numchannels;
3889994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3989994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava uint32_t samplingrate;
4089994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava uint32_t avgbytespersecond;
4189994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava unsigned short block_align;
4289994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava unsigned short validbitspersample;
4389994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4489994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava uint32_t channelmask;
4589994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava unsigned short encodeopt;
4689994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava};
4789994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava#endif
4889994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4989994223828a63a8316f2813a24449eb8d68890aVineeta Srivastava
50