diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2023-05-04 18:42:27 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2023-05-04 18:42:27 -0700 |
commit | c14ca5f3aa6da354440a60656062f6bc68d6fca6 (patch) | |
tree | 46151a136338288ecc6e19b09e5a6f7a7b4ab017 /core | |
parent | 95b0c59adef778b30dfbe68af70b92d55801fd89 (diff) |
Remove custom stuff for standard
Diffstat (limited to 'core')
-rw-r--r-- | core/ambdec.cpp | 2 | ||||
-rw-r--r-- | core/voice.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/ambdec.cpp b/core/ambdec.cpp index a056e63f..f98e1098 100644 --- a/core/ambdec.cpp +++ b/core/ambdec.cpp @@ -139,7 +139,7 @@ std::optional<std::string> AmbDecConf::load(const char *fname) noexcept { --toread; istr >> value; - if(curgain < al::size(gains)) + if(curgain < std::size(gains)) gains[curgain++] = value; } } diff --git a/core/voice.cpp b/core/voice.cpp index cbf84c2a..db6b6d27 100644 --- a/core/voice.cpp +++ b/core/voice.cpp @@ -288,7 +288,7 @@ inline void LoadSamples<FmtIMA4>(float *RESTRICT dstSamples, const std::byte *sr /* NOTE: This could probably be optimized better. */ size_t wrote{0}; do { - static constexpr int MaxStepIndex{static_cast<int>(al::size(IMAStep_size)) - 1}; + static constexpr int MaxStepIndex{static_cast<int>(std::size(IMAStep_size)) - 1}; /* Each IMA4 block starts with a signed 16-bit sample, and a signed * 16-bit table index. The table index needs to be clamped. */ |