aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/JackNodeFactory.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-11 01:26:07 +0000
committerDavid Robillard <d@drobilla.net>2007-02-11 01:26:07 +0000
commitda3ac16cbfbf66edebe929f8d9bf7d76ab24dd74 (patch)
tree8371f2d2e46925df9337be9b578cfb74d671d285 /src/engine/JackNodeFactory.cpp
parentcee33ba4c0859b117be94df6ccbf3eb756a850af (diff)
downloadmachina-da3ac16cbfbf66edebe929f8d9bf7d76ab24dd74.tar.gz
machina-da3ac16cbfbf66edebe929f8d9bf7d76ab24dd74.tar.bz2
machina-da3ac16cbfbf66edebe929f8d9bf7d76ab24dd74.zip
Moved Maid from Ingen to Raul.
Working machina MIDI learn, fixes, etc, etc. git-svn-id: http://svn.drobilla.net/lad/machina@302 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/JackNodeFactory.cpp')
-rw-r--r--src/engine/JackNodeFactory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/JackNodeFactory.cpp b/src/engine/JackNodeFactory.cpp
index ac99422..55c7ff2 100644
--- a/src/engine/JackNodeFactory.cpp
+++ b/src/engine/JackNodeFactory.cpp
@@ -28,19 +28,19 @@ JackNodeFactory::create_node(Node::ID, byte note, FrameCount duration)
{
// FIXME: obviously leaks like a sieve
- size_t event_size = 3;
- static const byte note_on[3] = { 0x80, note, 0x40 };
+ //size_t event_size = 3;
+ //static const byte note_on[3] = { 0x80, note, 0x40 };
Node* n = new Node(duration);
- MidiAction* a_enter = new MidiAction(_driver, event_size, note_on);
+ /*SharedPtr<MidiAction> a_enter = MidiAction::create(event_size, note_on);
static const byte note_off[3] = { 0x90, note, 0x40 };
- MidiAction* a_exit = new MidiAction(_driver, event_size, note_off);
+ SharedPtr<MidiAction> a_exit = MidiAction::create(event_size, note_off);
n->add_enter_action(a_enter);
n->add_exit_action(a_exit);
-
+*/
return SharedPtr<Node>(n);
}