in source/T31/T31AudioCapturer.c [321:339]
void audioCapturerDestory(AudioCapturerHandle handle)
{
if (!handle) {
return;
}
T31_HANDLE_GET(handle);
if (t31Handle->status == AUD_CAP_STATUS_STREAM_ON) {
audioCapturerReleaseStream(handle);
}
if (IMP_AENC_DestroyChn(T31_MIC_ENC_CHN_ID)) {
LOG("Encode channel disable failed");
}
setStatus(handle, AUD_CAP_STATUS_NOT_READY);
free(handle);
}