Skip to content

Commit

Permalink
Patch: Correct TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Jan 14, 2024
1 parent f7993cc commit 3be54f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/include/signalflow/patch/patch.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class Patch

/**--------------------------------------------------------------------------------
* Set a named patch input to a constant value.
* TODO: Rename to create_input for consistency with Node?
* @param name The name of the input
* @param value The value to set
*--------------------------------------------------------------------------------*/
Expand Down Expand Up @@ -109,6 +108,10 @@ class Patch
*--------------------------------------------------------------------------------*/
std::map<std::string, NodeRef> get_inputs();

/**--------------------------------------------------------------------------------
* Add a new input to a Patch.
* TODO: Rename to create_input for consistency with Node?
*--------------------------------------------------------------------------------*/
NodeRef add_input(std::string name, sample default_value = 0);
NodeRef add_input(std::string name, NodeRef value);
BufferRef add_buffer_input(std::string name);
Expand Down

0 comments on commit 3be54f5

Please sign in to comment.