remove unused function
authorRobin Gareus <robin@gareus.org>
Sun, 4 Oct 2015 13:35:00 +0000 (15:35 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 4 Oct 2015 15:53:02 +0000 (17:53 +0200)
gtk2_ardour/editor.h
gtk2_ardour/editor_ops.cc

index 3f10d05797a2a711650b79de4d07440acdc52600..0cdf499568edecaf5b7fc4b7ea8055a6c0495e88 100644 (file)
@@ -1246,7 +1246,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
 
        void region_fill_track ();
        void audition_playlist_region_standalone (boost::shared_ptr<ARDOUR::Region>);
-       void audition_playlist_region_via_route (boost::shared_ptr<ARDOUR::Region>, ARDOUR::Route&);
        void split_multichannel_region();
        void reverse_region ();
        void strip_region_silence ();
index cc67e02ee8ebca0fe21c0c3354b939a2402644cf..7d74f9487bc3372a08fd0b4dffe1803fd2aa88b6 100644 (file)
@@ -2767,25 +2767,6 @@ Editor::rename_region ()
        }
 }
 
-void
-Editor::audition_playlist_region_via_route (boost::shared_ptr<Region> region, Route& route)
-{
-       if (_session->is_auditioning()) {
-               _session->cancel_audition ();
-       }
-
-       // note: some potential for creativity here, because region doesn't
-       // have to belong to the playlist that Route is handling
-
-       // bool was_soloed = route.soloed();
-
-       route.set_solo (true, this);
-
-       _session->request_bounded_roll (region->position(), region->position() + region->length());
-
-       /* XXX how to unset the solo state ? */
-}
-
 /** Start an audition of the first selected region */
 void
 Editor::play_edit_range ()