aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-03-12 21:36:32 +0000
committerDavid Robillard <d@drobilla.net>2007-03-12 21:36:32 +0000
commit1c4f8c131dec109677d0a9b2b008c39a66d08158 (patch)
treee3843ac691ef5009810921ac81617076dc9c4cae /src/engine/machina
parentcc78e514acdf2e3587d38bcdb42f091c0c7c4ebe (diff)
downloadmachina-1c4f8c131dec109677d0a9b2b008c39a66d08158.tar.gz
machina-1c4f8c131dec109677d0a9b2b008c39a66d08158.tar.bz2
machina-1c4f8c131dec109677d0a9b2b008c39a66d08158.zip
Export to DOT file.
Fixed loading of useless initial nodes. git-svn-id: http://svn.drobilla.net/lad/machina@358 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/machina')
-rw-r--r--src/engine/machina/SMFDriver.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/machina/SMFDriver.hpp b/src/engine/machina/SMFDriver.hpp
index f9b266b..28d2277 100644
--- a/src/engine/machina/SMFDriver.hpp
+++ b/src/engine/machina/SMFDriver.hpp
@@ -35,15 +35,16 @@ class Machine;
class SMFDriver : public Raul::SMFWriter,
public boost::enable_shared_from_this<SMFDriver> {
public:
- SharedPtr<Machine> learn(const Glib::ustring& uri);
- SharedPtr<Machine> learn(const Glib::ustring& uri, unsigned track);
+ SharedPtr<Machine> learn(const Glib::ustring& uri, Raul::BeatTime max_duration);
+ SharedPtr<Machine> learn(const Glib::ustring& uri, unsigned track, Raul::BeatTime max_duration);
void run(SharedPtr<Machine> machine, Raul::BeatTime max_time);
private:
void learn_track(SharedPtr<Machine> machine,
Raul::SMFReader& reader,
- unsigned track);
+ unsigned track,
+ Raul::BeatTime max_duration);
};