Mildly reduce heft of scale read.

This commit is contained in:
Thomas Harte 2024-04-16 22:31:40 -04:00
parent 06fd91f002
commit 140228a936
1 changed files with 2 additions and 2 deletions

View File

@ -300,8 +300,8 @@ template <bool is_stereo> class PushLowpass: public LowpassBase<PushLowpass<is_s
using BaseT::process;
std::atomic<int> scale_ = 65536;
int get_scale() {
return scale_;
int get_scale() const {
return scale_.load(std::memory_order::memory_order_relaxed);
}
const int16_t *buffer_ = nullptr;