diff options
author | David Robillard <d@drobilla.net> | 2009-02-14 20:52:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-14 20:52:15 +0000 |
commit | 80e54c6ea05d35465f50f84897f113e0a48b7afd (patch) | |
tree | 8a70fa384c75569291c0a96bb6c27ffb57189fee /libs/ardour/smf_source.cc | |
parent | b0091c899bfc868de6a19af2f0cc74abca7fe173 (diff) |
MIDI robustness.
- Separate SMF::open and SMF::create, more powerful interface for both.
- Correctly handle note ons with velocity 0 as note offs in sequence.
- Use SMF (i.e. libsmf) for MIDI import
git-svn-id: svn://localhost/ardour2/branches/3.0@4558 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/smf_source.cc')
-rw-r--r-- | libs/ardour/smf_source.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index 6d80857e7b..e160d7e277 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -65,7 +65,7 @@ SMFSource::SMFSource (Session& s, std::string path, Flag flags) throw failed_constructor (); } - if (open(path)) { + if (create(path)) { throw failed_constructor (); } |