mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ddfce255b8
-Non tunnel playback is use case where compressed data is sent to driver(for decoding) and caller expects PCM data back from the driver. -Add non-tunnel driver for amr-wb+. -Add support for amr-wb+ in asm driver Change-Id: I266e70dff0466a20b0435da840a31a8a1774cf35 Signed-off-by: Ajit Khare <ajitk@codeaurora.org>
18 lines
613 B
C
18 lines
613 B
C
#ifndef __MSM_AUDIO_AMR_WB_PLUS_H
|
|
#define __MSM_AUDIO_AMR_WB_PLUS_H
|
|
|
|
#define AUDIO_GET_AMRWBPLUS_CONFIG_V2 _IOR(AUDIO_IOCTL_MAGIC, \
|
|
(AUDIO_MAX_COMMON_IOCTL_NUM+2), struct msm_audio_amrwbplus_config_v2)
|
|
#define AUDIO_SET_AMRWBPLUS_CONFIG_V2 _IOW(AUDIO_IOCTL_MAGIC, \
|
|
(AUDIO_MAX_COMMON_IOCTL_NUM+3), struct msm_audio_amrwbplus_config_v2)
|
|
|
|
struct msm_audio_amrwbplus_config_v2 {
|
|
unsigned int size_bytes;
|
|
unsigned int version;
|
|
unsigned int num_channels;
|
|
unsigned int amr_band_mode;
|
|
unsigned int amr_dtx_mode;
|
|
unsigned int amr_frame_fmt;
|
|
unsigned int amr_lsf_idx;
|
|
};
|
|
#endif /* __MSM_AUDIO_AMR_WB_PLUS_H */
|