diff options
Diffstat (limited to 'common/bsinc_tables.cpp')
-rw-r--r-- | common/bsinc_tables.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bsinc_tables.cpp b/common/bsinc_tables.cpp index 2fafb3a5..437f582d 100644 --- a/common/bsinc_tables.cpp +++ b/common/bsinc_tables.cpp @@ -211,7 +211,7 @@ struct Array { }; template<size_t total_size> -constexpr auto GenerateBSincCoeffs(const BSincHeader hdr) +constexpr auto GenerateBSincCoeffs(const BSincHeader &hdr) { double filter[BSincScaleCount][BSincPhaseCount+1][BSincPointsMax]{}; @@ -321,7 +321,7 @@ alignas(16) const auto bsinc12_table = GenerateBSincCoeffs<bsinc12_hdr.total_siz alignas(16) const auto bsinc24_table = GenerateBSincCoeffs<bsinc24_hdr.total_size>(bsinc24_hdr); -constexpr BSincTable GenerateBSincTable(const BSincHeader hdr, const float *tab) +constexpr BSincTable GenerateBSincTable(const BSincHeader &hdr, const float *tab) { BSincTable ret{}; ret.scaleBase = static_cast<float>(hdr.scaleBase); |