implemented volume and pan effects
This commit implements a structure for sample processing and two implemenations of this structure in volume and pan effects.
This commit is contained in:
@@ -390,6 +390,20 @@ NodeInput *Node::AcceleratedCodeIterativeInput() const
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool Node::ProcessesSamples() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void Node::ProcessSamples(const NodeValueDatabase &values, const AudioRenderingParams ¶ms, const float *input, float *output, int index) const
|
||||
{
|
||||
Q_UNUSED(values)
|
||||
Q_UNUSED(params)
|
||||
Q_UNUSED(input)
|
||||
Q_UNUSED(output)
|
||||
Q_UNUSED(index)
|
||||
}
|
||||
|
||||
NodeParam *Node::GetParameterWithID(const QString &id) const
|
||||
{
|
||||
foreach (NodeParam* param, params_) {
|
||||
|
||||
Reference in New Issue
Block a user