summaryrefslogtreecommitdiff
path: root/libs/ardour/filter.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-14 20:52:15 +0000
committerDavid Robillard <d@drobilla.net>2009-02-14 20:52:15 +0000
commit80e54c6ea05d35465f50f84897f113e0a48b7afd (patch)
tree8a70fa384c75569291c0a96bb6c27ffb57189fee /libs/ardour/filter.cc
parentb0091c899bfc868de6a19af2f0cc74abca7fe173 (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/filter.cc')
-rw-r--r--libs/ardour/filter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/filter.cc b/libs/ardour/filter.cc
index be382f72da..0075555773 100644
--- a/libs/ardour/filter.cc
+++ b/libs/ardour/filter.cc
@@ -100,7 +100,7 @@ Filter::finish (boost::shared_ptr<Region> region, SourceList& nsrcs, string regi
boost::shared_ptr<SMFSource> smfs = boost::dynamic_pointer_cast<SMFSource>(*si);
if (smfs) {
smfs->set_timeline_position (region->position());
- smfs->flush_footer ();
+ smfs->flush ();
}
/* now that there is data there, requeue the file for analysis */