the big Route structure refactor. !!!! THIS WILL ***NOT LOAD*** PRIOR 3.0 or 2.X...
[ardour.git] / gtk2_ardour / route_params_ui.cc
index 5c709d80bfebeb9ab944042d8cfb89be1bf1b816..d2fc106c429620c6d87e48020594feec692bec72 100644 (file)
@@ -298,7 +298,7 @@ RouteParams_UI::cleanup_latency_frame ()
 void
 RouteParams_UI::setup_latency_frame ()
 {
-       latency_widget = new LatencyGUI (*(_route.get()), session->frame_rate(), session->engine().frames_per_cycle());
+       latency_widget = new LatencyGUI (*(_route->output()), session->frame_rate(), session->engine().frames_per_cycle());
 
        char buf[128];
        snprintf (buf, sizeof (buf), _("Playback delay: %u samples"), _route->initial_delay());
@@ -322,13 +322,13 @@ RouteParams_UI::setup_io_frames()
        cleanup_io_frames();
        
        // input
-       _input_iosel = new IOSelector (*session, _route, false);
+       _input_iosel = new IOSelector (*session, _route->input());
        _input_iosel->setup ();
        input_frame.add (*_input_iosel);
        input_frame.show_all();
        
        // output
-       _output_iosel = new IOSelector (*session, _route, true);
+       _output_iosel = new IOSelector (*session, _route->output());
        _output_iosel->setup ();
        output_frame.add (*_output_iosel);
        output_frame.show_all();