private void OnEnable()
 {
     processor                    = target as WebRtcAudioDsp;
     recorder                     = processor.GetComponent <Recorder>();
     this.aecSp                   = this.serializedObject.FindProperty("aec");
     this.aecMobileSp             = this.serializedObject.FindProperty("aecMobile");
     this.aecMobileComfortNoiseSp = this.serializedObject.FindProperty("aecMobileComfortNoise");
     this.agcSp                   = this.serializedObject.FindProperty("agc");
     this.vadSp                   = this.serializedObject.FindProperty("vad");
     this.highPassSp              = this.serializedObject.FindProperty("highPass");
     this.bypassSp                = this.serializedObject.FindProperty("bypass");
     this.noiseSuppressionSp      = this.serializedObject.FindProperty("noiseSuppression");
     this.reverseStreamDelayMsSp  = this.serializedObject.FindProperty("reverseStreamDelayMs");
 }
Beispiel #2
0
 private void OnEnable()
 {
     processor = target as WebRtcAudioDsp;
     recorder  = processor.GetComponent <Recorder>();
 }