summaryrefslogtreecommitdiffstats
path: root/libc/kernel/common/linux/msm_audio_wmapro.h
blob: ee23bfe733db726323efc1dff4e54ca97657f931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/****************************************************************************
 ****************************************************************************
 ***
 ***   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_WMAPRO_H
#define __MSM_AUDIO_WMAPRO_H

#define AUDIO_GET_WMAPRO_CONFIG _IOR(AUDIO_IOCTL_MAGIC,   (AUDIO_MAX_COMMON_IOCTL_NUM+0), unsigned)
#define AUDIO_SET_WMAPRO_CONFIG _IOW(AUDIO_IOCTL_MAGIC,   (AUDIO_MAX_COMMON_IOCTL_NUM+1), unsigned)

struct msm_audio_wmapro_config {
 uint16_t armdatareqthr;
 uint8_t validbitspersample;
 uint8_t numchannels;
 uint16_t formattag;
 uint16_t samplingrate;
 uint16_t avgbytespersecond;
 uint16_t asfpacketlength;
 uint16_t channelmask;
 uint16_t encodeopt;
 uint16_t advancedencodeopt;
 uint32_t advancedencodeopt2;
};
#endif