29 void set_dsp_type(sc_dsp_type type)
31 m_parameterDescriptions.clear();
35 for (
int i = 0; i < m_config.vtable->numParams; ++i)
37 m_parameterDescriptions.emplace_back(m_config.vtable->params[i]);
41 [[nodiscard]] std::vector<effect_parameter_description> get_parameters()
const
43 return m_parameterDescriptions;
45 [[nodiscard]]
const sc_dsp_config* get_config()
const {
return &m_config; }
46 [[nodiscard]] sc_dsp_type get_dsp_type()
const {
return m_config.type; }
50 std::vector<effect_parameter_description> m_parameterDescriptions;
sc_dsp_config SC_API sc_dsp_config_init(sc_dsp_type type)
Returns a valid sc_dsp_config object for the DSP type.
Definition sound_chef.c:1019