PluginInfo::type added to copy constructor. But why is the copy constructor defined...
[ardour.git] / libs / ardour / source_factory.cc
index 7942bfa5e06d41a41bbbb1459c4f38cb3f7eeb09..a0d0edc333787a865753404966349e26e602bfe6 100644 (file)
@@ -54,7 +54,7 @@ std::list<boost::weak_ptr<AudioSource> > SourceFactory::files_with_peaks;
 static void 
 peak_thread_work ()
 {
-       PBD::ThreadCreated (pthread_self(), string ("peakbuilder-") + to_string (pthread_self(), std::dec));
+       PBD::notify_gui_about_thread_creation (pthread_self(), string ("peakbuilder-") + to_string (pthread_self(), std::dec));
 
        while (true) {
 
@@ -129,7 +129,6 @@ boost::shared_ptr<Source>
 SourceFactory::create (Session& s, const XMLNode& node, bool defer_peaks)
 {
        try {
-
                boost::shared_ptr<Source> ret (new SndFileSource (s, node));
                if (setup_peakfile (ret, defer_peaks)) {
                        return boost::shared_ptr<Source>();