aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2015-12-24 03:59:10 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2015-12-24 03:59:10 +0300
commite738e9cc60d0a548ab1ed39920aefff06c899811 (patch)
tree49918426e5b9e584bb62f50df4f3183da3de2fcf /src
parenta6d750f6fac703a4f5c75861d7f1398737e2d484 (diff)
downloadatracdenc-e738e9cc60d0a548ab1ed39920aefff06c899811.tar.gz
Some improvements of transient detector (missed header changes)
Diffstat (limited to 'src')
-rw-r--r--src/transient_detector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transient_detector.h b/src/transient_detector.h
index 143507c..9e066d4 100644
--- a/src/transient_detector.h
+++ b/src/transient_detector.h
@@ -11,6 +11,7 @@ class TTransientDetector {
static const uint32_t prevBufSz = 20;
void HPFilter(const double* in, double* out);
std::vector<double> HPFBuffer;
+ double LastEnergy = 0.0;
public:
TTransientDetector(uint32_t shortSz, uint32_t blockSz)
: ShortSz(shortSz)