Is overloading support (for processors and functions) on the roadmap?
would be great to be able to write things like that instead of having ‘DynamicGain’, ‘FixedGain’, etc. :
processor Gain (using SampleType, float gain)
{
input stream SampleType in;
output stream SampleType out;
void run()
{
loop
{
out << in * gain;
advance();
}
}
}
processor Gain (using SampleType)
{
input stream SampleType in;
output stream SampleType out;
input stream float gain;
void run()
{
loop
{
out << in * gain;
advance();
}
}
}
