diff --git a/docs/red/main.js b/docs/red/main.js index 2e58777..ecb7f9d 100644 --- a/docs/red/main.js +++ b/docs/red/main.js @@ -60,7 +60,8 @@ var RED = (function() { nns.sort(function(a,b){ return (a.x + a.y/250) - (b.x + b.y/250); }); //console.log(JSON.stringify(nns)); - var cpp = "#include \n#include \n" + var cpp = "#include \n#include \n" + + "#include \n" + "#include \n#include \n#include \n\n" + "// GUItool: begin automatically generated code\n"; // generate code for all audio processing nodes @@ -89,7 +90,7 @@ var RED = (function() { if (wire) { var parts = wire.split(":"); if (parts.length == 2) { - cpp += "AudioConnection patchCord" + cordcount + "("; + cpp += "AudioConnection_F32 patchCord" + cordcount + "("; var src = RED.nodes.node(n.id); var dst = RED.nodes.node(parts[0]); var src_name = make_name(src); diff --git a/docs/red/nodes.js b/docs/red/nodes.js index ea8f864..0ebf09e 100644 --- a/docs/red/nodes.js +++ b/docs/red/nodes.js @@ -362,7 +362,7 @@ RED.nodes = (function() { var words = []; const NODE_COMMENT = "//"; - const NODE_AC = "AudioConnection"; + const NODE_AC = "AudioConnection_F32"; var parseLine = function(line) {