13
0

use -90dB as default threshold for silence trim during export, rather than -inf dB

This commit is contained in:
Paul Davis 2021-04-23 11:03:17 -06:00
parent 4abfcca8b6
commit fe8418ffea

View File

@ -41,7 +41,7 @@ class /*LIBAUDIOGRAPHER_API*/ SilenceTrimmer
public:
/// Constructor, \see reset() \n Not RT safe
SilenceTrimmer(samplecnt_t silence_buffer_size_ = 1024, float thresh_dB = -INFINITY)
SilenceTrimmer(samplecnt_t silence_buffer_size_ = 1024, float thresh_dB = -90.0f)
: silence_buffer_size (0)
, silence_buffer (0)
, tester (thresh_dB)