added clone functions for nodes
Since nodes are are extremely derivative types, we use a clone/copy function to produce new types of the derived class easily.
This commit is contained in:
@@ -6,6 +6,11 @@ AudioInput::AudioInput()
|
||||
AddParameter(samples_output_);
|
||||
}
|
||||
|
||||
Node *AudioInput::copy()
|
||||
{
|
||||
return new AudioInput();
|
||||
}
|
||||
|
||||
QString AudioInput::Name()
|
||||
{
|
||||
return tr("Audio Input");
|
||||
|
||||
Reference in New Issue
Block a user