aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina
diff options
context:
space:
mode:
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);
};