From fbb936f7263df35d0eb8c4fc341950be5ff69587 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Tue, 1 Apr 2008 00:29:46 +0000 Subject: [PATCH] decreased minimal gate from 0.0001f to 0.00001f as it turned out that some effects were cut off with previous value git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@824 0778d3d1-df1d-0410-868b-ea421aaaa00d --- plugins/bass_booster/bass_booster.cpp | 2 +- plugins/ladspa_effect/ladspa_effect.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/bass_booster/bass_booster.cpp b/plugins/bass_booster/bass_booster.cpp index ba654043f..95ffe8a5f 100644 --- a/plugins/bass_booster/bass_booster.cpp +++ b/plugins/bass_booster/bass_booster.cpp @@ -92,7 +92,7 @@ bool FASTCALL bassBoosterEffect::processAudioBuffer( surroundSampleFrame * _buf, } } - if( out_sum <= getGate()+0.0001f ) + if( out_sum <= getGate()+0.00001f ) { incrementBufferCount(); if( getBufferCount() > getTimeout() ) diff --git a/plugins/ladspa_effect/ladspa_effect.cpp b/plugins/ladspa_effect/ladspa_effect.cpp index ce7a548d0..ec0e1ab13 100644 --- a/plugins/ladspa_effect/ladspa_effect.cpp +++ b/plugins/ladspa_effect/ladspa_effect.cpp @@ -439,7 +439,7 @@ bool FASTCALL ladspaEffect::processAudioBuffer( surroundSampleFrame * _buf, // Check whether we need to continue processing input. Restart the // counter if the threshold has been exceeded. - if( out_sum <= getGate()+0.0001f ) + if( out_sum <= getGate()+0.00001f ) { incrementBufferCount(); if( getBufferCount() > getTimeout() )