Banajit Goswami | 0530e2f | 2016-12-09 21:34:37 -0800 | [diff] [blame] | 1 | #ifndef _UAPI_MSM_AUDIO_G711_H |
| 2 | #define _UAPI_MSM_AUDIO_G711_H |
| 3 | |
| 4 | #include <linux/msm_audio.h> |
| 5 | |
| 6 | struct msm_audio_g711_enc_config { |
| 7 | uint32_t sample_rate; |
| 8 | }; |
| 9 | |
| 10 | #define AUDIO_SET_G711_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \ |
| 11 | (AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_g711_enc_config) |
| 12 | |
| 13 | #define AUDIO_GET_G711_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \ |
| 14 | (AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_g711_enc_config) |
| 15 | |
| 16 | |
| 17 | #endif /* _UAPI_MSM_AUDIO_G711_H */ |