Skip to content

Commit

Permalink
use patch name in OWL header
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Dec 25, 2024
1 parent 025fbf5 commit 4101882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hvcc/generators/c2owl/templates/HeavyOwl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ extern "C" {
class HeavyPatch : public Patch {
public:
HeavyPatch() {
context = new Heavy_owl(getSampleRate(), HEAVY_MESSAGE_POOL_SIZE, HEAVY_MESSAGE_IN_QUEUE_SIZE, HEAVY_MESSAGE_OUT_QUEUE_SIZE);
context = new Heavy_{{name}}(getSampleRate(), HEAVY_MESSAGE_POOL_SIZE, HEAVY_MESSAGE_IN_QUEUE_SIZE, HEAVY_MESSAGE_OUT_QUEUE_SIZE);
context->setUserData(this);
context->setPrintHook(&owlPrintHook);
context->setSendHook(&owlSendHook);
Expand Down

0 comments on commit 4101882

Please sign in to comment.