13
0

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

This reverts commit fe8418ffea,
which had no effect, since the default c'tor argument is not used.
This commit is contained in:
Robin Gareus 2021-04-24 16:40:10 +02:00
parent d26d8c91a0
commit 6da997ef30
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

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 = -90.0f)
SilenceTrimmer(samplecnt_t silence_buffer_size_ = 1024, float thresh_dB = -INFINITY)
: silence_buffer_size (0)
, silence_buffer (0)
, tester (thresh_dB)