, apf::pointer_policy<float*>>
{
public:
using Input = MimoProcessorBase::DefaultInput;
class MyIntermediateThing : public ProcessItem<MyIntermediateThing>
{
public:
APF_PROCESS(MyIntermediateThing, ProcessItem<MyIntermediateThing>)
{
}
};
class Output : public MimoProcessorBase::DefaultOutput
{
public:
explicit Output(const Params& p)
: MimoProcessorBase::DefaultOutput(p)
{}
{
}
};
: MimoProcessorBase(p)
, _intermediate_list(_fifo)
{
this->add<Input>();
_intermediate_list.add(new MyIntermediateThing());
this->add<Output>();
this->activate();
}
~MyProcessor() { this->deactivate(); }
{
_process_list(_intermediate_list);
}
private:
rtlist_t _intermediate_list;
};
int main()
{
}
Multi-threaded multiple-input-multiple-output (MIMO) processor.
Multi-threaded MIMO (multiple input, multiple output) processor.
#define APF_PROCESS(name, parent)
Macro to create a Process struct and a corresponding member function.
C policy (= pointer based) for MimoProcessor's audio_interface.
A "dictionary" for parameters.