Skip to content

Commit

Permalink
Add -universal option in faust2unity, formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Oct 6, 2024
1 parent fea73ff commit 111a299
Show file tree
Hide file tree
Showing 4 changed files with 614 additions and 609 deletions.
2 changes: 1 addition & 1 deletion architecture/unity/FaustPlugin_template.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public bool IsInstantiated() {
*/
public float getParameter(int param) {
if (IsInstantiated()) { // if the the plugin is instantiated, the parameter value is changed directly in the plugin
return ctx.getParameterValue(param);
return ctx.getParameterValue(param);
} else { // if not, the value is stored in parameters[]
return parameters[param];
}
Expand Down
Loading

0 comments on commit 111a299

Please sign in to comment.