Home
last modified time | relevance | path

Searched refs:c_in_mod (Results 1 – 1 of 1) sorted by relevance

/hardware/qcom/audio/msm8909/hal/audio_extn/
Dcompress_capture.c49 static struct compress_in_module c_in_mod = { variable
61 c_in_mod.in_buf = (uint8_t*)calloc(1, in->config.period_size*2); in audio_extn_compr_cap_init()
66 if (c_in_mod.in_buf) { in audio_extn_compr_cap_deinit()
67 free(c_in_mod.in_buf); in audio_extn_compr_cap_deinit()
68 c_in_mod.in_buf = NULL; in audio_extn_compr_cap_deinit()
126 ret = pcm_read(in->pcm, c_in_mod.in_buf, c_in_buf_size); in audio_extn_compr_cap_read()
131 header = (struct snd_compr_audio_info *) c_in_mod.in_buf; in audio_extn_compr_cap_read()
140 "reserved[0]: %u frame_size: %d", c_in_mod.in_buf, in audio_extn_compr_cap_read()
141 c_in_mod.in_buf + c_in_header, in audio_extn_compr_cap_read()
144 memcpy(buffer, c_in_mod.in_buf + c_in_header, header->frame_size); in audio_extn_compr_cap_read()