#pragma once #include #include "../adi/t_mykonos.h" // wraps FIR allocation class ad937x_fir { // these should be const, but can't be because of C API // mykonosFir_t _fir; std::vector fir_coefficients; void ad937x_fir::_set_gain(int8_t gain); public: ad937x_fir(int8_t gain, const std::vector& coefficients); ad937x_fir(int8_t gain, std::vector&& coefficients); mykonosFir_t* getFir(); };