aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui
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/gui
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/gui')
-rw-r--r--src/gui/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index cb9b7e9..20f75b9 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -38,7 +38,7 @@ main(int argc, char** argv)
string filename = argv[1];
cout << "Building machine from MIDI file " << filename << endl;
SharedPtr<Machina::SMFDriver> file_driver(new Machina::SMFDriver());
- machine = file_driver->learn(string("file://") + filename, 16.0);
+ machine = file_driver->learn(string("file://") + filename, 0.0);
}
// Build engine