Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srikanth007m/73c34e91d47245584bdedbf43612b499 to your computer and use it in GitHub Desktop.
Save srikanth007m/73c34e91d47245584bdedbf43612b499 to your computer and use it in GitHub Desktop.
msm_audio
include <linux/ioctl.h>
include <../include/uapi/linux/msm_audio.h>
include <../include/uapi/linux/msm_audio_ac3.h>
include <../include/uapi/linux/msm_audio_aac.h>
include <../include/uapi/linux/msm_audio_alac.h>
include <../include/uapi/linux/msm_audio_amrnb.h>
include <../include/uapi/linux/msm_audio_amrwb.h>
include <../include/uapi/linux/msm_audio_ape.h>
include <../include/uapi/linux/msm_audio_calibration.h>
include <../include/uapi/linux/msm_audio_mvs.h>
include <../include/uapi/linux/msm_audio_qcp.h>
include <../include/uapi/linux/msm_audio_sbc.h>
include <../include/uapi/linux/msm_audio_voicememo.h>
include <../include/uapi/linux/msm_audio_wma.h>
include <../include/uapi/linux/msm_audio_wmapro.h>
include <../include/uapi/linux/msm_audio_g711.h>
include <../include/uapi/linux/msm_audio_g711_dec.h>
include <../include/uapi/linux/msm_audio_amrwbplus.h>
resource fd_audio[fd]
syz_open_dev$audioaac(dev ptr[in, string["/dev/msm_aac"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioaacin(dev ptr[in, string["/dev/msm_aac_in"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioacdb(dev ptr[in, string["/dev/msm_acdb"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioamrnb(dev ptr[in, string["/dev/msm_amrnb"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioamrnbin(dev ptr[in, string["/dev/msm_amrnb_in"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioamrwb(dev ptr[in, string["/dev/msm_amrwb"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioamrwbplus(dev ptr[in, string["/dev/msm_amrwbplus"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioevrc(dev ptr[in, string["/dev/msm_evrc"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioevrcin(dev ptr[in, string["/dev/msm_evrc_in"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiomp3(dev ptr[in, string["/dev/msm_mp3"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiomultiaac(dev ptr[in, string["/dev/msm_multi_aac"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioqcelp(dev ptr[in, string["/dev/msm_qcelp"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioqcelpin(dev ptr[in, string["/dev/msm_qcelp_in"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiortac(dev ptr[in, string["/dev/msm_rtac"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiowma(dev ptr[in, string["/dev/msm_wma"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiowmapro(dev ptr[in, string["/dev/msm_wmapro"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audioalsa(dev ptr[in, string["/dev/alsa"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiog711m(dev ptr[in, string["/dev/msm_g711mlaw_in"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiog711min(dev ptr[in, string["/dev/msm_g711alaw_in"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiog711a(dev ptr[in, string["/dev/msm_g711alaw"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiog711ml(dev ptr[in, string["/dev/msm_g711mlaw"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiodsp(dev ptr[in, string["/dev/msm-voip-dsp"]], id const[0], flags flags[open_flags]) fd_audio
syz_open_dev$audiovoice(dev ptr[in, string["/dev/msm-pcm-voice"]], id const[0], flags flags[open_flags]) fd_audio
ioctl$AUDIO_START(fd fd_audio, cmd const[AUDIO_START], arg ptr[in, int32])
ioctl$AUDIO_STOP(fd fd_audio, cmd const[AUDIO_STOP], arg ptr[in, int32])
ioctl$AUDIO_FLUSH(fd fd_audio, cmd const[AUDIO_FLUSH], arg ptr[in, int32])
ioctl$AUDIO_GET_CONFIG(fd fd_audio, cmd const[AUDIO_GET_CONFIG], arg ptr[out, msm_audio_config])
ioctl$AUDIO_SET_CONFIG(fd fd_audio, cmd const[AUDIO_SET_CONFIG], arg ptr[in, msm_audio_config])
ioctl$AUDIO_GET_STATS(fd fd_audio, cmd const[AUDIO_GET_STATS], arg ptr[out, msm_audio_stats])
ioctl$AUDIO_ENABLE_AUDPP(fd fd_audio, cmd const[AUDIO_ENABLE_AUDPP], arg ptr[in, int32])
ioctl$AUDIO_SET_ADRC(fd fd_audio, cmd const[AUDIO_SET_ADRC], arg ptr[in, int32])
ioctl$AUDIO_SET_EQ(fd fd_audio, cmd const[AUDIO_SET_EQ], arg ptr[in, int32])
ioctl$AUDIO_SET_RX_IIR(fd fd_audio, cmd const[AUDIO_SET_RX_IIR], arg ptr[in, int32])
ioctl$AUDIO_SET_VOLUME(fd fd_audio, cmd const[AUDIO_SET_VOLUME], arg ptr[in, int32])
ioctl$AUDIO_PAUSE(fd fd_audio, cmd const[AUDIO_PAUSE], arg ptr[in, int32])
ioctl$AUDIO_PLAY_DTMF(fd fd_audio, cmd const[AUDIO_PLAY_DTMF], arg ptr[in, int32])
ioctl$AUDIO_GET_EVENT(fd fd_audio, cmd const[AUDIO_GET_EVENT], arg ptr[out, msm_audio_event])
ioctl$AUDIO_ABORT_GET_EVENT(fd fd_audio, cmd const[AUDIO_ABORT_GET_EVENT], arg ptr[in, int32])
ioctl$AUDIO_REGISTER_PMEM(fd fd_audio, cmd const[AUDIO_REGISTER_PMEM], arg ptr[in, int32])
ioctl$AUDIO_DEREGISTER_PMEM(fd fd_audio, cmd const[AUDIO_DEREGISTER_PMEM], arg ptr[in, int32])
ioctl$AUDIO_ASYNC_WRITE(fd fd_audio, cmd const[AUDIO_ASYNC_WRITE], arg ptr[in, msm_audio_aio_buf])
ioctl$AUDIO_ASYNC_READ(fd fd_audio, cmd const[AUDIO_ASYNC_READ], arg ptr[in, msm_audio_aio_buf])
ioctl$AUDIO_SET_INCALL(fd fd_audio, cmd const[AUDIO_SET_INCALL], arg ptr[in, msm_voicerec_mode])
ioctl$AUDIO_GET_NUM_SND_DEVICE(fd fd_audio, cmd const[AUDIO_GET_NUM_SND_DEVICE], arg ptr[out, int32])
ioctl$AUDIO_GET_SND_DEVICES(fd fd_audio, cmd const[AUDIO_GET_SND_DEVICES], arg ptr[inout, msm_snd_device_list])
ioctl$AUDIO_ENABLE_SND_DEVICE(fd fd_audio, cmd const[AUDIO_ENABLE_SND_DEVICE], arg ptr[in, int32])
ioctl$AUDIO_DISABLE_SND_DEVICE(fd fd_audio, cmd const[AUDIO_DISABLE_SND_DEVICE], arg ptr[in, int32])
ioctl$AUDIO_ROUTE_STREAM(fd fd_audio, cmd const[AUDIO_ROUTE_STREAM], arg ptr[in, msm_audio_route_config])
ioctl$AUDIO_GET_PCM_CONFIG(fd fd_audio, cmd const[AUDIO_GET_PCM_CONFIG], arg ptr[out, int32])
ioctl$AUDIO_SET_PCM_CONFIG(fd fd_audio, cmd const[AUDIO_SET_PCM_CONFIG], arg ptr[in, int32])
ioctl$AUDIO_SWITCH_DEVICE(fd fd_audio, cmd const[AUDIO_SWITCH_DEVICE], arg ptr[in, int32])
ioctl$AUDIO_SET_MUTE(fd fd_audio, cmd const[AUDIO_SET_MUTE], arg ptr[in, int32])
ioctl$AUDIO_UPDATE_ACDB(fd fd_audio, cmd const[AUDIO_UPDATE_ACDB], arg ptr[in, int32])
ioctl$AUDIO_START_VOICE(fd fd_audio, cmd const[AUDIO_START_VOICE], arg ptr[in, int32])
ioctl$AUDIO_STOP_VOICE(fd fd_audio, cmd const[AUDIO_STOP_VOICE], arg ptr[in, int32])
ioctl$AUDIO_REINIT_ACDB(fd fd_audio, cmd const[AUDIO_REINIT_ACDB], arg ptr[in, int32])
ioctl$AUDIO_OUTPORT_FLUSH(fd fd_audio, cmd const[AUDIO_OUTPORT_FLUSH], arg ptr[in, int8])
ioctl$AUDIO_SET_ERR_THRESHOLD_VALUE(fd fd_audio, cmd const[AUDIO_SET_ERR_THRESHOLD_VALUE], arg ptr[in, int8])
ioctl$AUDIO_GET_BITSTREAM_ERROR_INFO(fd fd_audio, cmd const[AUDIO_GET_BITSTREAM_ERROR_INFO], arg ptr[out, msm_audio_bitstream_error_info])
ioctl$AUDIO_SET_SRS_TRUMEDIA_PARAM(fd fd_audio, cmd const[AUDIO_SET_SRS_TRUMEDIA_PARAM], arg ptr[in, int32])
ioctl$AUDIO_SET_STREAM_CONFIG(fd fd_audio, cmd const[AUDIO_SET_STREAM_CONFIG], arg ptr[in, msm_audio_stream_config])
ioctl$AUDIO_GET_STREAM_CONFIG(fd fd_audio, cmd const[AUDIO_GET_STREAM_CONFIG], arg ptr[out, msm_audio_stream_config])
ioctl$AUDIO_GET_SESSION_ID(fd fd_audio, cmd const[AUDIO_GET_SESSION_ID], arg ptr[out, int8])
ioctl$AUDIO_GET_STREAM_INFO(fd fd_audio, cmd const[AUDIO_GET_STREAM_INFO], arg ptr[in, msm_audio_bitstream_info])
ioctl$AUDIO_SET_PAN(fd fd_audio, cmd const[AUDIO_SET_PAN], arg ptr[in, int32])
ioctl$AUDIO_SET_QCONCERT_PLUS(fd fd_audio, cmd const[AUDIO_SET_QCONCERT_PLUS], arg ptr[in, int32])
ioctl$AUDIO_SET_MBADRC(fd fd_audio, cmd const[AUDIO_SET_MBADRC], arg ptr[in, int32])
ioctl$AUDIO_SET_VOLUME_PATH(fd fd_audio, cmd const[AUDIO_SET_VOLUME_PATH], arg ptr[in, msm_vol_info])
ioctl$AUDIO_SET_MAX_VOL_ALL(fd fd_audio, cmd const[AUDIO_SET_MAX_VOL_ALL], arg ptr[in, int32])
ioctl$AUDIO_ENABLE_AUDPRE(fd fd_audio, cmd const[AUDIO_ENABLE_AUDPRE], arg ptr[in, int32])
ioctl$AUDIO_SET_AGC(fd fd_audio, cmd const[AUDIO_SET_AGC], arg ptr[in, int32])
ioctl$AUDIO_SET_NS(fd fd_audio, cmd const[AUDIO_SET_NS], arg ptr[in, int32])
ioctl$AUDIO_SET_TX_IIR(fd fd_audio, cmd const[AUDIO_SET_TX_IIR], arg ptr[in, int32])
ioctl$AUDIO_GET_BUF_CFG(fd fd_audio, cmd const[AUDIO_GET_BUF_CFG], arg ptr[in, msm_audio_buf_cfg])
ioctl$AUDIO_SET_BUF_CFG(fd fd_audio, cmd const[AUDIO_SET_BUF_CFG], arg ptr[in, msm_audio_buf_cfg])
ioctl$AUDIO_SET_ACDB_BLK(fd fd_audio, cmd const[AUDIO_SET_ACDB_BLK], arg ptr[in, msm_acdb_cmd_device])
ioctl$AUDIO_GET_ACDB_BLK(fd fd_audio, cmd const[AUDIO_GET_ACDB_BLK], arg ptr[in, msm_acdb_cmd_device])
ioctl$AUDIO_REGISTER_ION(fd fd_audio, cmd const[AUDIO_REGISTER_ION], arg ptr[in, msm_audio_ion_info])
ioctl$AUDIO_DEREGISTER_ION(fd fd_audio, cmd const[AUDIO_DEREGISTER_ION], arg ptr[in, msm_audio_ion_info])
ioctl$AUDIO_SET_EFFECTS_CONFIG(fd fd_audio, cmd const[AUDIO_SET_EFFECTS_CONFIG], arg ptr[in, msm_hwacc_effects_config])
ioctl$AUDIO_EFFECTS_SET_BUF_LEN(fd fd_audio, cmd const[AUDIO_EFFECTS_SET_BUF_LEN], arg ptr[in, msm_hwacc_buf_cfg])
ioctl$AUDIO_EFFECTS_GET_BUF_AVAIL(fd fd_audio, cmd const[AUDIO_EFFECTS_GET_BUF_AVAIL], arg ptr[in, msm_hwacc_buf_avail])
ioctl$AUDIO_EFFECTS_WRITE(fd fd_audio, cmd const[AUDIO_EFFECTS_WRITE], arg ptr[in, int8])
ioctl$AUDIO_EFFECTS_READ(fd fd_audio, cmd const[AUDIO_EFFECTS_READ], arg ptr[in, int8])
ioctl$AUDIO_EFFECTS_SET_PP_PARAMS(fd fd_audio, cmd const[AUDIO_EFFECTS_SET_PP_PARAMS], arg ptr[in, int8])
ioctl$AUDIO_PM_AWAKE(fd fd_audio, cmd const[AUDIO_PM_AWAKE], arg ptr[in, int32])
ioctl$AUDIO_PM_RELAX(fd fd_audio, cmd const[AUDIO_PM_RELAX], arg ptr[in, int32])
ioctl$AUDIO_SET_AAC_CONFIG(fd fd_audio, cmd const[AUDIO_SET_AAC_CONFIG], arg ptr[in, msm_audio_aac_config])
ioctl$AUDIO_GET_AAC_CONFIG(fd fd_audio, cmd const[AUDIO_GET_AAC_CONFIG], arg ptr[out, msm_audio_aac_config])
ioctl$AUDIO_SET_AAC_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_SET_AAC_ENC_CONFIG], arg ptr[in, msm_audio_aac_enc_config])
ioctl$AUDIO_GET_AAC_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_GET_AAC_ENC_CONFIG], arg ptr[out, msm_audio_aac_enc_config])
ioctl$AUDIO_SET_AAC_MIX_CONFIG(fd fd_audio, cmd const[AUDIO_SET_AAC_MIX_CONFIG], arg ptr[out, int32])
ioctl$AUDIO_SET_AC3_CONFIG(fd fd_audio, cmd const[AUDIO_SET_AC3_CONFIG], arg ptr[in, int8])
ioctl$AUDIO_GET_AC3_CONFIG(fd fd_audio, cmd const[AUDIO_GET_AC3_CONFIG], arg ptr[out, int8])
ioctl$AUDIO_GET_ALAC_CONFIG(fd fd_audio, cmd const[AUDIO_GET_ALAC_CONFIG], arg ptr[out, msm_audio_alac_config])
ioctl$AUDIO_SET_ALAC_CONFIG(fd fd_audio, cmd const[AUDIO_SET_ALAC_CONFIG], arg ptr[in, msm_audio_alac_config])
ioctl$AUDIO_GET_AMRNB_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_GET_AMRNB_ENC_CONFIG], arg ptr[in, int8])
ioctl$AUDIO_SET_AMRNB_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_SET_AMRNB_ENC_CONFIG], arg ptr[out, int8])
ioctl$AUDIO_GET_AMRNB_ENC_CONFIG_V2(fd fd_audio, cmd const[AUDIO_GET_AMRNB_ENC_CONFIG_V2], arg ptr[in, msm_audio_amrnb_enc_config_v2])
ioctl$AUDIO_SET_AMRNB_ENC_CONFIG_V2(fd fd_audio, cmd const[AUDIO_SET_AMRNB_ENC_CONFIG_V2], arg ptr[out, msm_audio_amrnb_enc_config_v2])
ioctl$AUDIO_GET_AMRWB_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_GET_AMRWB_ENC_CONFIG], arg ptr[in, msm_audio_amrwb_enc_config])
ioctl$AUDIO_SET_AMRWB_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_SET_AMRWB_ENC_CONFIG], arg ptr[out, msm_audio_amrwb_enc_config])
ioctl$AUDIO_GET_AMRWBPLUS_CONFIG_V2(fd fd_audio, cmd const[AUDIO_GET_AMRWBPLUS_CONFIG_V2], arg ptr[out, msm_audio_amrwbplus_config_v2])
ioctl$AUDIO_SET_AMRWBPLUS_CONFIG_V2(fd fd_audio, cmd const[AUDIO_SET_AMRWBPLUS_CONFIG_V2], arg ptr[in, msm_audio_amrwbplus_config_v2])
ioctl$AUDIO_GET_APE_CONFIG(fd fd_audio, cmd const[AUDIO_GET_APE_CONFIG], arg ptr[out, msm_audio_ape_config])
ioctl$AUDIO_SET_APE_CONFIG(fd fd_audio, cmd const[AUDIO_SET_APE_CONFIG], arg ptr[in, msm_audio_ape_config])
ioctl$AUDIO_ALLOCATE_CALIBRATION(fd fd_audio, cmd const[AUDIO_ALLOCATE_CALIBRATION], arg ptr[inout, int8])
ioctl$AUDIO_DEALLOCATE_CALIBRATION(fd fd_audio, cmd const[AUDIO_DEALLOCATE_CALIBRATION], arg ptr[inout, int8])
ioctl$AUDIO_PREPARE_CALIBRATION(fd fd_audio, cmd const[AUDIO_PREPARE_CALIBRATION], arg ptr[inout, int8])
ioctl$AUDIO_SET_CALIBRATION(fd fd_audio, cmd const[AUDIO_SET_CALIBRATION], arg ptr[inout, int8])
ioctl$AUDIO_GET_CALIBRATION(fd fd_audio, cmd const[AUDIO_GET_CALIBRATION], arg ptr[inout, int8])
ioctl$AUDIO_POST_CALIBRATION(fd fd_audio, cmd const[AUDIO_POST_CALIBRATION], arg ptr[inout, int8])
ioctl$AUDIO_GET_RTAC_ADM_INFO(fd fd_audio, cmd const[AUDIO_GET_RTAC_ADM_INFO], arg ptr[out, int8])
ioctl$AUDIO_GET_RTAC_VOICE_INFO(fd fd_audio, cmd const[AUDIO_GET_RTAC_VOICE_INFO], arg ptr[out, int8])
ioctl$AUDIO_GET_RTAC_ADM_CAL(fd fd_audio, cmd const[AUDIO_GET_RTAC_ADM_CAL], arg ptr[inout, int8])
ioctl$AUDIO_SET_RTAC_ADM_CAL(fd fd_audio, cmd const[AUDIO_SET_RTAC_ADM_CAL], arg ptr[inout, int8])
ioctl$AUDIO_GET_RTAC_ASM_CAL(fd fd_audio, cmd const[AUDIO_GET_RTAC_ASM_CAL], arg ptr[inout, int8])
ioctl$AUDIO_SET_RTAC_ASM_CAL(fd fd_audio, cmd const[AUDIO_SET_RTAC_ASM_CAL], arg ptr[inout, int8])
ioctl$AUDIO_GET_RTAC_CVS_CAL(fd fd_audio, cmd const[AUDIO_GET_RTAC_CVS_CAL], arg ptr[inout, int8])
ioctl$AUDIO_SET_RTAC_CVS_CAL(fd fd_audio, cmd const[AUDIO_SET_RTAC_CVS_CAL], arg ptr[inout, int8])
ioctl$AUDIO_GET_RTAC_CVP_CAL(fd fd_audio, cmd const[AUDIO_GET_RTAC_CVP_CAL], arg ptr[inout, int8])
ioctl$AUDIO_SET_RTAC_CVP_CAL(fd fd_audio, cmd const[AUDIO_SET_RTAC_CVP_CAL], arg ptr[inout, int8])
ioctl$AUDIO_GET_RTAC_AFE_CAL(fd fd_audio, cmd const[AUDIO_GET_RTAC_AFE_CAL], arg ptr[inout, int8])
ioctl$AUDIO_SET_RTAC_AFE_CAL(fd fd_audio, cmd const[AUDIO_SET_RTAC_AFE_CAL], arg ptr[inout, int8])
ioctl$AUDIO_GET_MVS_CONFIG(fd fd_audio, cmd const[AUDIO_GET_MVS_CONFIG], arg ptr[in, int32])
ioctl$AUDIO_SET_MVS_CONFIG(fd fd_audio, cmd const[AUDIO_SET_MVS_CONFIG], arg ptr[out, int32])
ioctl$AUDIO_SET_QCELP_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_SET_QCELP_ENC_CONFIG], arg ptr[in, msm_audio_qcelp_enc_config])
ioctl$AUDIO_GET_QCELP_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_GET_QCELP_ENC_CONFIG], arg ptr[out, msm_audio_qcelp_enc_config])
ioctl$AUDIO_SET_EVRC_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_SET_EVRC_ENC_CONFIG], arg ptr[in, msm_audio_evrc_enc_config])
ioctl$AUDIO_GET_EVRC_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_GET_EVRC_ENC_CONFIG], arg ptr[out, msm_audio_evrc_enc_config])
ioctl$AUDIO_SET_SBC_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_SET_SBC_ENC_CONFIG], arg ptr[in, msm_audio_sbc_enc_config])
ioctl$AUDIO_GET_SBC_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_GET_SBC_ENC_CONFIG], arg ptr[out, msm_audio_sbc_enc_config])
ioctl$AUDIO_GET_VOICEMEMO_CONFIG(fd fd_audio, cmd const[AUDIO_GET_VOICEMEMO_CONFIG], arg ptr[in, int8])
ioctl$AUDIO_SET_VOICEMEMO_CONFIG(fd fd_audio, cmd const[AUDIO_SET_VOICEMEMO_CONFIG], arg ptr[out, int8])
ioctl$AUDIO_GET_WMA_CONFIG(fd fd_audio, cmd const[AUDIO_GET_WMA_CONFIG], arg ptr[out, int8])
ioctl$AUDIO_SET_WMA_CONFIG(fd fd_audio, cmd const[AUDIO_SET_WMA_CONFIG], arg ptr[in, int8])
ioctl$AUDIO_GET_WMA_CONFIG_V2(fd fd_audio, cmd const[AUDIO_GET_WMA_CONFIG_V2], arg ptr[out, msm_audio_wma_config_v2])
ioctl$AUDIO_SET_WMA_CONFIG_V2(fd fd_audio, cmd const[AUDIO_SET_WMA_CONFIG_V2], arg ptr[in, msm_audio_wma_config_v2])
ioctl$AUDIO_GET_WMAPRO_CONFIG(fd fd_audio, cmd const[AUDIO_GET_WMAPRO_CONFIG], arg ptr[out, msm_audio_wmapro_config])
ioctl$AUDIO_SET_WMAPRO_CONFIG(fd fd_audio, cmd const[AUDIO_SET_WMAPRO_CONFIG], arg ptr[in, msm_audio_wmapro_config])
ioctl$AUDIO_SET_G711_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_SET_G711_ENC_CONFIG], arg ptr[in, msm_audio_g711_enc_config])
ioctl$AUDIO_GET_G711_ENC_CONFIG(fd fd_audio, cmd const[AUDIO_GET_G711_ENC_CONFIG], arg ptr[out, msm_audio_g711_enc_config])
#ioctl$AUDIO_SET_G711_DEC_CONFIG(fd fd_audio, cmd const[AUDIO_SET_G711_DEC_CONFIG], arg ptr[in, msm_audio_g711_dec_config])
#ioctl$AUDIO_GET_G711_DEC_CONFIG(fd fd_audio, cmd const[AUDIO_GET_G711_DEC_CONFIG], arg ptr[out, AUDIO_GET_G711_DEC_CONFIG])
msm_audio_config {
buffer_size int32
buffer_count int32
channel_count int32
sample_rate int32
type int32
meta_field int32
bits int32
unused array[int32, 3]
}
msm_audio_stats {
byte_count int32
sample_count int32
unused array[int32, 2]
}
msm_audio_event_payload [
aio_buf msm_audio_aio_buf
stream_info msm_audio_bitstream_info
error_info msm_audio_bitstream_error_info
reserved int32
]
msm_audio_event {
event_type int8
timeout_ms int8
event_payload msm_audio_event_payload
}
msm_audio_aio_buf {
buf_addr buffer[out]
buf_len len[buf_addr, int32]
data_len int32
private_data buffer[out]
mfield_sz len[private_data, int16]
}
msm_audio_bitstream_info {
codec_type int32
chan_info int32
sample_rate int32
bit_stream_info int32
bit_rate int32
unused array[int32, 3]
}
msm_audio_bitstream_error_info {
dec_id int32
err_msg_indicator int32
err_type int32
}
msm_voicerec_mode {
rec_mode int32
}
msm_snd_device_list {
num_dev int32
list ptr[inout, msm_snd_device_info]
}
msm_snd_device_info {
dev_id int32
dev_cap int32
dev_name array[int8 ,64]
}
msm_audio_route_config {
stream_type int32
stream_id int32
dev_id int32
}
msm_audio_stream_config {
buffer_size int32
frames_per_buf int32
}
msm_vol_info {
vol int32
path int32
}
msm_audio_buf_cfg {
meta_info_enable int32
frames_per_buf int32
}
msm_acdb_cmd_device {
command_id int32
device_id int32
network_id int32
sample_rate_id int32
interface_id int32
algorithm_block_id int32
total_bytes int32
phys_buf ptr[in, int32]
}
msm_audio_ion_info {
fd int32
vaddr buffer[in]
}
msm_hwacc_effects_config {
input msm_hwacc_data_config
output msm_hwacc_data_config
buf_cfg msm_hwacc_buf_cfg
meta_mode_enabled int32
overwrite_topology int32
topology int32
}
msm_hwacc_data_config {
buf_size int32
num_buf int32
num_channels int32
channel_map array[int8, 8]
sample_rate int32
bits_per_sample int32
}
msm_hwacc_buf_cfg {
input_len int32
output_len int32
}
msm_hwacc_buf_avail {
input_num_avail int32
output_num_avail int32
}
msm_audio_aac_config {
format int16
audio_object int16
ep_config int16
aac_section_data_resilience_flag int16
aac_scalefactor_data_resilience_flag int16
aac_spectral_data_resilience_flag int16
sbr_on_flag int16
sbr_ps_on_flag int16
dual_mono_mode int16
channel_configuration int16
sample_rate int16
}
msm_audio_aac_enc_config {
channels int32
sample_rate int32
bit_rate int32
stream_format int32
}
msm_audio_alac_config {
frameLength int32
compatVersion int8
bitDepth int8
pb int8
mb int8
kb int8
channelCount int8
maxRun int16
maxSize int32
averageBitRate int32
sampleRate int32
channelLayout int32
}
msm_audio_amrnb_enc_config_v2 {
band_mode int32
dtx_enable int32
frame_format int32
}
msm_audio_amrwb_enc_config {
band_mode int32
dtx_enable int32
frame_format int32
}
msm_audio_amrwbplus_config_v2 {
size_bytes int32
version int32
num_channels int32
amr_band_mode int32
amr_dtx_mode int32
amr_frame_fmt int32
amr_lsf_idx int32
}
msm_audio_ape_config {
compatibleVersion int16
compressionLevel int16
formatFlags int32
blocksPerFrame int32
finalFrameBlocks int32
totalFrames int32
bitsPerSample int16
numChannels int16
sampleRate int32
seekTablePresent int32
}
msm_audio_qcelp_enc_config {
cdma_rate int32
min_bit_rate int32
max_bit_rate int32
}
msm_audio_evrc_enc_config {
cdma_rate int32
min_bit_rate int32
max_bit_rate int32
}
msm_audio_sbc_enc_config {
channels int32
sample_rate int32
bit_allocation int32
number_of_subbands int32
number_of_blocks int32
bit_rate int32
mode int32
}
msm_audio_wma_config_v2 {
format_tag int16
numchannels int16
samplingrate int32
avgbytespersecond int32
block_align int16
validbitspersample int16
channelmask int32
encodeopt int16
}
msm_audio_wmapro_config {
armdatareqthr int16
validbitspersample int8
numchannels int8
formattag int16
samplingrate int32
avgbytespersecond int32
asfpacketlength int16
channelmask int32
encodeopt int16
advancedencodeopt int16
advancedencodeopt2 int32
}
msm_audio_g711_enc_config {
sample_rate int32
}
msm_audio_g711_dec_config {
sample_rate int32
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment