android_kernel_oneplus_msm8998/include/uapi/linux/msm_audio_g711.h

18 lines
450 B
C
Raw Normal View History

#ifndef _UAPI_MSM_AUDIO_G711_H
#define _UAPI_MSM_AUDIO_G711_H
#include <linux/msm_audio.h>
struct msm_audio_g711_enc_config {
uint32_t sample_rate;
};
#define AUDIO_SET_G711_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, \
(AUDIO_MAX_COMMON_IOCTL_NUM+0), struct msm_audio_g711_enc_config)
#define AUDIO_GET_G711_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, \
(AUDIO_MAX_COMMON_IOCTL_NUM+1), struct msm_audio_g711_enc_config)
#endif /* _UAPI_MSM_AUDIO_G711_H */