Browse Source

Move doxygen file to doc folder. Trying to fix buffering.

Luciano Dato 7 years ago
parent
commit
577c01165f
2 changed files with 2 additions and 2 deletions
  1. 0 0
      doc/doxygen.conf
  2. 2 2
      src/sdenoise.c

doxygen.conf → doc/doxygen.conf


+ 2 - 2
src/sdenoise.c

@@ -204,10 +204,10 @@ run(LV2_Handle instance, uint32_t n_samples)
 
 			//-----------------------------------
 
-			//Output processed samples from RNNoise to output fifo
+			//Output processed samples from RNNoise to output fifo considering soft bypass
 			for (k = 0; k < self->frame_size; k++)
 			{
-				self->out_fifo[k] = self->rnnoise_output_frame[k];
+				self->out_fifo[k] = (1.f-self->wet_dry)*self->rnnoise_input_frame[k] + self->wet_dry*self->rnnoise_output_frame[k];
 			}
 
 			//-------------------------------