aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-03-12 23:03:14 +0000
committerDavid Robillard <d@drobilla.net>2007-03-12 23:03:14 +0000
commit2ee0bc08ac0ab14c870542ea182abf7bf0031dcc (patch)
tree631a93c26192fbd17205f0032e964513f56a8723 /src/engine/machina
parent1c4f8c131dec109677d0a9b2b008c39a66d08158 (diff)
downloadmachina-2ee0bc08ac0ab14c870542ea182abf7bf0031dcc.tar.gz
machina-2ee0bc08ac0ab14c870542ea182abf7bf0031dcc.tar.bz2
machina-2ee0bc08ac0ab14c870542ea182abf7bf0031dcc.zip
Max duration loading optional.
git-svn-id: http://svn.drobilla.net/lad/machina@360 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/machina')
-rw-r--r--src/engine/machina/SMFDriver.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/machina/SMFDriver.hpp b/src/engine/machina/SMFDriver.hpp
index 28d2277..17c196e 100644
--- a/src/engine/machina/SMFDriver.hpp
+++ b/src/engine/machina/SMFDriver.hpp
@@ -35,8 +35,8 @@ class Machine;
class SMFDriver : public Raul::SMFWriter,
public boost::enable_shared_from_this<SMFDriver> {
public:
- SharedPtr<Machine> learn(const Glib::ustring& uri, Raul::BeatTime max_duration);
- SharedPtr<Machine> learn(const Glib::ustring& uri, unsigned track, Raul::BeatTime max_duration);
+ SharedPtr<Machine> learn(const Glib::ustring& uri, Raul::BeatTime max_duration=0);
+ SharedPtr<Machine> learn(const Glib::ustring& uri, unsigned track, Raul::BeatTime max_duration=0);
void run(SharedPtr<Machine> machine, Raul::BeatTime max_time);
@@ -44,7 +44,7 @@ private:
void learn_track(SharedPtr<Machine> machine,
Raul::SMFReader& reader,
unsigned track,
- Raul::BeatTime max_duration);
+ Raul::BeatTime max_duration=0);
};