aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/JackNodeFactory.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-21 02:30:09 +0000
committerDavid Robillard <d@drobilla.net>2007-02-21 02:30:09 +0000
commit1429e4b2279566384ec09bfe3bfe7d7e0f0f79eb (patch)
tree9f0fb4eed56bacf52e738cd13029ec2683ee56e2 /src/engine/JackNodeFactory.cpp
parenta865ddb5043c4dc094b8f64d2cae60e0df16b8ac (diff)
downloadmachina-1429e4b2279566384ec09bfe3bfe7d7e0f0f79eb.tar.gz
machina-1429e4b2279566384ec09bfe3bfe7d7e0f0f79eb.tar.bz2
machina-1429e4b2279566384ec09bfe3bfe7d7e0f0f79eb.zip
Tempo based time in Machina (and related utilities added to Raul).
git-svn-id: http://svn.drobilla.net/lad/machina@324 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/JackNodeFactory.cpp')
-rw-r--r--src/engine/JackNodeFactory.cpp49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/engine/JackNodeFactory.cpp b/src/engine/JackNodeFactory.cpp
deleted file mode 100644
index 826d205..0000000
--- a/src/engine/JackNodeFactory.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-/* This file is part of Machina.
- * Copyright (C) 2007 Dave Robillard <http://drobilla.net>
- *
- * Machina is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Machina is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include "machina/JackNodeFactory.hpp"
-#include "machina/MidiAction.hpp"
-#include "machina/Node.hpp"
-#include "machina/JackDriver.hpp"
-
-namespace Machina {
-
-
-SharedPtr<Node>
-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 };
-
- Node* n = new Node(duration);
- /*SharedPtr<MidiAction> a_enter = MidiAction::create(event_size, note_on);
-
-
- static const byte note_off[3] = { 0x90, note, 0x40 };
- 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);
-}
-
-
-} // namespace Machina
-