Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Danalog_agc.c115 int WebRtcAgc_AddMic(void *state, int16_t* const* in_mic, size_t num_bands, in WebRtcAgc_AddMic() argument
171 sample = (in_mic[j][i] * gain) >> 12; in WebRtcAgc_AddMic()
174 in_mic[j][i] = 32767; in WebRtcAgc_AddMic()
177 in_mic[j][i] = -32768; in WebRtcAgc_AddMic()
180 in_mic[j][i] = (int16_t)sample; in WebRtcAgc_AddMic()
204 nrg = in_mic[0][i * L + n] * in_mic[0][i * L + n]; in WebRtcAgc_AddMic()
226 WebRtcSpl_DownsampleBy2(&in_mic[0][i * 32], in WebRtcAgc_AddMic()
232 memcpy(tmp_speech, &in_mic[0][i * 16], 16 * sizeof(short)); in WebRtcAgc_AddMic()
248 WebRtcAgc_ProcessVad(&stt->vadMic, in_mic[0], samples); in WebRtcAgc_AddMic()