initial volley of work for AudioPlaylistSource, the basic prototype for sources-that-are-nested
git-svn-id: svn://localhost/ardour2/branches/3.0@9508 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -750,7 +750,13 @@ Editor::add_sources (vector<string> paths, SourceList& sources, framepos_t& pos,
|
||||
just_one.clear ();
|
||||
just_one.push_back (*x);
|
||||
|
||||
region_name = region_name_from_path ((*x)->path(), false, false, sources.size(), n);
|
||||
boost::shared_ptr<FileSource> fs = boost::dynamic_pointer_cast<FileSource> (*x);
|
||||
|
||||
if (fs) {
|
||||
region_name = region_name_from_path (fs->path(), false, false, sources.size(), n);
|
||||
} else{
|
||||
region_name = (*x)->name();
|
||||
}
|
||||
|
||||
PropertyList plist;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user