Searched refs:in_mic (Results 1 – 1 of 1) sorted by relevance
/external/webrtc/src/modules/audio_processing/agc/ |
D | analog_agc.c | 113 int WebRtcAgc_AddMic(void *state, WebRtc_Word16 *in_mic, WebRtc_Word16 *in_mic_H, in WebRtcAgc_AddMic() argument 195 if (in_mic == NULL) in WebRtcAgc_AddMic() 231 tmp32 = WEBRTC_SPL_MUL_16_U16(in_mic[i], gain); in WebRtcAgc_AddMic() 235 in_mic[i] = 32767; in WebRtcAgc_AddMic() 238 in_mic[i] = -32768; in WebRtcAgc_AddMic() 241 in_mic[i] = (WebRtc_Word16)sample; in WebRtcAgc_AddMic() 281 nrg = WEBRTC_SPL_MUL_16_16(in_mic[i * L + n], in_mic[i * L + n]); in WebRtcAgc_AddMic() 303 WebRtcSpl_DownsampleBy2(&in_mic[i * 32], 32, tmp_speech, stt->filterState); in WebRtcAgc_AddMic() 306 memcpy(tmp_speech, &in_mic[i * 16], 16 * sizeof(short)); in WebRtcAgc_AddMic() 324 WebRtcAgc_ProcessVad(&stt->vadMic, &in_mic[i], subFrames); in WebRtcAgc_AddMic()
|