diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-12-12 23:26:24 +0100 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-12-12 23:52:19 +0100 |
commit | 39986e653def9d1130235c1cd6a38c3251bb6d79 (patch) | |
tree | 0d84f0c219a8784d6ab22c74face2be230fd939a /src/atrac/atrac3.h | |
parent | 2ca3d7fb3cfdc0b311bb20426d53782910dee64e (diff) | |
download | atracdenc-39986e653def9d1130235c1cd6a38c3251bb6d79.tar.gz |
[refactoring] Get rid of inheritance from data.
Diffstat (limited to 'src/atrac/atrac3.h')
-rw-r--r-- | src/atrac/atrac3.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/atrac/atrac3.h b/src/atrac/atrac3.h index caf49f7..6ce0283 100644 --- a/src/atrac/atrac3.h +++ b/src/atrac/atrac3.h @@ -54,7 +54,7 @@ class TAtrac3Data { public: static constexpr uint8_t MaxBfus = 32; static constexpr uint32_t NumSamples = 1024; -//protected: + static const uint32_t MDCTSz = 512; static double ScaleTable[64]; static double EncodeWindow[256]; @@ -248,6 +248,7 @@ public: typedef std::vector<TTonalVal> TTonalComponents; }; + struct TAtrac3EncoderSettings { TAtrac3EncoderSettings(uint32_t bitrate, bool noGainControll, bool noTonalComponents, uint8_t sourceChannels, uint32_t bfuIdxConst) |