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.cpp | |
parent | 2ca3d7fb3cfdc0b311bb20426d53782910dee64e (diff) | |
download | atracdenc-39986e653def9d1130235c1cd6a38c3251bb6d79.tar.gz |
[refactoring] Get rid of inheritance from data.
Diffstat (limited to 'src/atrac/atrac3.cpp')
-rw-r--r-- | src/atrac/atrac3.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/atrac/atrac3.cpp b/src/atrac/atrac3.cpp index 82fb34b..363a32e 100644 --- a/src/atrac/atrac3.cpp +++ b/src/atrac/atrac3.cpp @@ -42,6 +42,8 @@ double TAtrac3Data::ScaleTable[64] = {0}; double TAtrac3Data::GainLevel[16]; double TAtrac3Data::GainInterpolation[31]; +static const TAtrac3Data Atrac3Data; + const TContainerParams* TAtrac3Data::GetContainerParamsForBitrate(uint32_t bitrate) { // Set default to LP2 mode if (bitrate == 0) { |