Files
DigiRadio/Software/components/core/src/BiquadCoefficients.cpp
T
micheleandCursor ab3651e678 Add Slice 5 ADAU1701 runtime audio control (firmware 0.5.0).
Safeload mixer/EQ/master on the ADAU1701, persist AudioProfile in NVS,
expose /api/audio routes and web UI controls, with host tests and manual sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-06 16:47:58 +02:00

31 lines
662 B
C++

/**
* @file BiquadCoefficients.cpp
* @brief BiquadCoefficients fixpoint conversion.
*
* DigiRadio firmware — https://github.com/manvalan/DigiRadio
*
* Copyright 2026 Michele Bigi
* SPDX-License-Identifier: Apache-2.0
*
* @author Michele Bigi
* @date 2026-07-06
*/
#include "core/BiquadCoefficients.hpp"
#include "core/BiquadDesign.hpp"
namespace core {
std::array<std::int32_t, 5> BiquadCoefficients::toFixpoint823() const noexcept
{
return {
floatToFixpoint823(b0),
floatToFixpoint823(b1),
floatToFixpoint823(b2),
floatToFixpoint823(a0),
floatToFixpoint823(a1),
};
}
} // namespace core