diff --git a/src/pifmrds/fm_mpx.c b/src/pifmrds/fm_mpx.c index bfd3caf..92833e6 100644 --- a/src/pifmrds/fm_mpx.c +++ b/src/pifmrds/fm_mpx.c @@ -68,7 +68,7 @@ float fir_buffer_left[FIR_TAPS] = {0}; float fir_buffer_right[FIR_TAPS] = {0}; int fir_index = 0; int channels; -float left_max=1, right_max=1; // start compressor with low gain +float left_max=1, right_max=1; // start compressor with low gain SNDFILE *inf; @@ -261,7 +261,7 @@ int fm_mpx_get_samples(float *mpx_buffer, int drds, float compressor_decay, floa { for(int fi=0; fi 1) out_right = 0; } - if(drds) mpx_buffer[i] = 0; //do not remove this, the bandwidht will go nuts // Generate the stereo mpx if( channels > 1 ) {