aboutsummaryrefslogtreecommitdiffstats
path: root/src/atrac/atrac3.cpp
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2024-12-12 23:26:24 +0100
committerDaniil Cherednik <dan.cherednik@gmail.com>2024-12-12 23:52:19 +0100
commit39986e653def9d1130235c1cd6a38c3251bb6d79 (patch)
tree0d84f0c219a8784d6ab22c74face2be230fd939a /src/atrac/atrac3.cpp
parent2ca3d7fb3cfdc0b311bb20426d53782910dee64e (diff)
downloadatracdenc-39986e653def9d1130235c1cd6a38c3251bb6d79.tar.gz
[refactoring] Get rid of inheritance from data.
Diffstat (limited to 'src/atrac/atrac3.cpp')
-rw-r--r--src/atrac/atrac3.cpp2
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) {