From 0a9cef7720ed9bd83442d284d18831437b80a482 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 16 May 2011 02:17:58 +0000 Subject: very basic Join (regions) editing operation. not finished yet, no undoable, no sensible name for new region, etc. etc git-svn-id: svn://localhost/ardour2/branches/3.0@9518 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/source_factory.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'libs/ardour/source_factory.cc') diff --git a/libs/ardour/source_factory.cc b/libs/ardour/source_factory.cc index 891e431549..1bf3956694 100644 --- a/libs/ardour/source_factory.cc +++ b/libs/ardour/source_factory.cc @@ -326,8 +326,7 @@ SourceFactory::createWritable (DataType type, Session& s, const std::string& pat boost::shared_ptr SourceFactory::createFromPlaylist (DataType type, Session& s, boost::shared_ptr p, const std::string& name, - uint32_t chn, frameoffset_t start, framecnt_t len, bool copy, Source::Flag flags, - bool announce, bool defer_peaks) + uint32_t chn, frameoffset_t start, framecnt_t len, bool copy, bool defer_peaks) { if (type == DataType::AUDIO) { try { @@ -335,7 +334,7 @@ SourceFactory::createFromPlaylist (DataType type, Session& s, boost::shared_ptr< boost::shared_ptr ap = boost::dynamic_pointer_cast(p); if (ap) { - Source* src = new AudioPlaylistSource (s, name, ap, chn, start, len, copy, flags); + Source* src = new AudioPlaylistSource (s, name, ap, chn, start, len, copy, Source::Flag (0)); boost::shared_ptr ret (src); if (setup_peakfile (ret, defer_peaks)) { @@ -344,9 +343,7 @@ SourceFactory::createFromPlaylist (DataType type, Session& s, boost::shared_ptr< ret->check_for_analysis_data_on_disk (); - if (announce) { - SourceCreated (ret); - } + /* we never announce these sources */ return ret; } -- cgit v1.2.3