diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-10-06 17:02:43 +0200 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-10-06 19:54:31 +0200 |
commit | 073ddad9e7ae600db9dd942728dcd4b46b1357ec (patch) | |
tree | b6a7a1935c598274ec97d5e96841273706ec3023 /src/atrac/atrac_scale.h | |
parent | a18796c67f26df138601a0e6061daeed03808a29 (diff) | |
download | atracdenc-073ddad9e7ae600db9dd942728dcd4b46b1357ec.tar.gz |
Use ATH during ATRAC1 encoding
Diffstat (limited to 'src/atrac/atrac_scale.h')
-rw-r--r-- | src/atrac/atrac_scale.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/atrac/atrac_scale.h b/src/atrac/atrac_scale.h index 855010e..b590662 100644 --- a/src/atrac/atrac_scale.h +++ b/src/atrac/atrac_scale.h @@ -28,9 +28,10 @@ namespace NAtracDEnc { struct TScaledBlock { - TScaledBlock(uint8_t sfi) : ScaleFactorIndex(sfi) {} + TScaledBlock(uint8_t sfi) : ScaleFactorIndex(sfi) {} /* const */ uint8_t ScaleFactorIndex = 0; std::vector<TFloat> Values; + TFloat MaxEnergy; }; class TBlockSize; |