public void Dispose() { if (_vad != null) { _vad.Dispose(); _vad = null; } }
public WebRtcVoiceDetector(uint frameSize, int sampleRate) { _vad = new WebRtcVadNative.VAD(frameSize, sampleRate); }