diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2016-07-17 17:50:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2016-07-17 17:50:38 +0300 |
commit | 842bd06107983bf1775e9c1bbafc8cbe43ffb164 (patch) | |
tree | 4808bed3ae63572f092686f2e93ff44a2676abaa /src/transient_detector.h | |
parent | 1151d5831f19a9f24dd0c545a4968606712a62d2 (diff) | |
download | atracdenc-842bd06107983bf1775e9c1bbafc8cbe43ffb164.tar.gz |
Experimental implementation of gain control.atrac3_gaincontrol
Diffstat (limited to 'src/transient_detector.h')
-rw-r--r-- | src/transient_detector.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transient_detector.h b/src/transient_detector.h index 004eff6..46b774f 100644 --- a/src/transient_detector.h +++ b/src/transient_detector.h @@ -6,6 +6,7 @@ #include "config.h" namespace NAtracDEnc { + class TTransientDetector { const uint32_t ShortSz; const uint32_t BlockSz; @@ -28,5 +29,6 @@ public: uint32_t GetLastTransientPos() const { return LastTransientPos; } }; -std::vector<TFloat> AnalyzeGain(const TFloat* in, const uint32_t len, const uint32_t maxPoints); +std::vector<TFloat> AnalyzeGain(const TFloat* in, uint32_t len, uint32_t maxPoints, bool useRms); + } |