diff options
author | David Robillard <d@drobilla.net> | 2008-02-18 19:45:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-02-18 19:45:52 +0000 |
commit | fbfb26b45c075da880861cf2303b851fe1acc0e8 (patch) | |
tree | 4673a82d5516535b17e9c60ffd57a206801a1e01 /libs/ardour/region_factory.cc | |
parent | 1b2fe7bf34f1e05ab4e3975ac91aeda28a4d11d0 (diff) |
Preliminary (read: kludgey) MIDI import support.
Only really works when tracks contain only channel 1 data for now.
git-svn-id: svn://localhost/ardour2/branches/3.0@3083 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/region_factory.cc')
-rw-r--r-- | libs/ardour/region_factory.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/region_factory.cc b/libs/ardour/region_factory.cc index bd4b0873a7..bb40fb16cf 100644 --- a/libs/ardour/region_factory.cc +++ b/libs/ardour/region_factory.cc @@ -108,6 +108,8 @@ RegionFactory::create (Session& session, XMLNode& node, bool yn) boost::shared_ptr<Region> RegionFactory::create (const SourceList& srcs, nframes_t start, nframes_t length, const string& name, layer_t layer, Region::Flag flags, bool announce) { + cerr << "CREATE REGION " << name << " " << start << " * " << length << endl; + if (srcs.empty()) { return boost::shared_ptr<Region>(); } |