Explorar el Código

Z991239-1954 #comment fix: 降噪库增加支持处理8k采样,10ms延时,160字节buffer降噪

陈礼鹏80274480 hace 4 años
padre
commit
c557022aed
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      Other/libaudions/libaudions.cpp

+ 3 - 0
Other/libaudions/libaudions.cpp

@@ -105,6 +105,9 @@ int AudioNsImpl::NsProcess8kAudioSampleRate(char* pDst, uint32_t uDstLen, char*
 			}
 		}
 	}
+	else if ((160 == uDstLen) && (160 == uSrcLen)){
+		iRet = WebRtcNs_Process(m_NsHandle, (short*)pSrc, NULL, (short*)pDst, NULL);
+	}
 
 	return iRet;
 }