kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
Log | Files | Refs | README

commit 03abf3380a4bc8a0e5101cd8c3c05161cc6151c2
parent 5fec7886fcc03b2de7c79833fd808daeb3107e94
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date:   Tue,  6 Dec 2022 00:21:51 +0000

Change range for packet_size_factor in ebu_r128

Diffstat:
Minclude/kfr/dsp/ebu.hpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/kfr/dsp/ebu.hpp b/include/kfr/dsp/ebu.hpp @@ -266,8 +266,8 @@ public: { KFR_LOGIC_CHECK(!channels.empty(), "channels must not be empty"); KFR_LOGIC_CHECK(sample_rate > 0, "sample_rate must be greater than 0"); - KFR_LOGIC_CHECK(packet_size_factor >= 1 && packet_size_factor <= 3, - "packet_size_factor must be in range [1..3]"); + KFR_LOGIC_CHECK(packet_size_factor >= 1 && packet_size_factor <= 6, + "packet_size_factor must be in range [1..6]"); for (Speaker sp : channels) { m_channels.emplace_back(sample_rate, sp, packet_size_factor, T(1));