예제 #1
0
 protected void initBuiltinProcessors()
 {
     if (this.resampleSource)
     {
         AddPostProcessor(new AudioUtil.Resampler <T>(this.info.FrameSize, channels));
     }
     this.voiceDetectorCalibration = new AudioUtil.VoiceDetectorCalibration <T>(voiceDetector, levelMeter, this.info.SamplingRate, (int)this.channels);
     AddPostProcessor(levelMeter, voiceDetectorCalibration, voiceDetector); // level meter and calibration should be processed even if no signal detected
 }