diff options
Diffstat (limited to 'libs/ardour/session_events.cc')
-rw-r--r-- | libs/ardour/session_events.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libs/ardour/session_events.cc b/libs/ardour/session_events.cc index 416d72969e..e93a7a5f17 100644 --- a/libs/ardour/session_events.cc +++ b/libs/ardour/session_events.cc @@ -410,18 +410,6 @@ Session::process_event (Event* ev) case Event::InputConfigurationChange: post_transport_work = PostTransportWork (post_transport_work | PostTransportInputChange); - { - RCUWriter<DiskstreamList> writer (diskstreams); - boost::shared_ptr<DiskstreamList> ds = writer.get_copy(); - ds->remove (ev->diskstream); - /* writer goes out of scope, copies ds back to main */ - } - { - RCUWriter<DiskstreamList> writer (diskstreams_input_pending); - boost::shared_ptr<DiskstreamList> ds = writer.get_copy(); - ds->push_back (ev->diskstream); - /* writer goes out of scope, copies ds back to main */ - } schedule_butler_transport_work (); break; |