Add mono separate regions to source-list

The "whole-file" property is now mainly used as indicator whether
a region should be in the source list.
This commit is contained in:
Robin Gareus 2020-06-09 22:49:12 +02:00
parent f6e38219bc
commit 4c5ad08e81
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1367,9 +1367,9 @@ AudioRegion::separate_by_channel (vector<boost::shared_ptr<Region> >& v) const
plist.add (Properties::length, _length.val());
plist.add (Properties::name, new_name);
plist.add (Properties::layer, layer ());
plist.add (Properties::whole_file, true);
v.push_back(RegionFactory::create (srcs, plist));
v.back()->set_whole_file (false);
++n;
}