diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-09 17:58:13 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-09 17:58:13 +0000 |
commit | 402cc384ced6cb152c8abe4294009fe0de0a6dea (patch) | |
tree | f01db6b412cb8e2d3c69fa123fd615c229ee47d3 /gtk2_ardour/analysis_window.cc | |
parent | cc351b97a986fca48a6b3b631a292bf24efc5e41 (diff) |
Back out big shared_ptr change. Moving to a branch. Apologies all.
git-svn-id: svn://localhost/ardour2/branches/3.0@5343 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/analysis_window.cc')
-rw-r--r-- | gtk2_ardour/analysis_window.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/analysis_window.cc b/gtk2_ardour/analysis_window.cc index d79e51e70e..ed2b90b34f 100644 --- a/gtk2_ardour/analysis_window.cc +++ b/gtk2_ardour/analysis_window.cc @@ -261,7 +261,7 @@ AnalysisWindow::analyze_data (Gtk::Button *button) if (!pl) continue; - boost::shared_ptr<RouteUI> rui = boost::dynamic_pointer_cast<RouteUI>(*i); + RouteUI *rui = dynamic_cast<RouteUI *>(*i); int n_inputs = rui->route()->n_inputs().n_audio(); // FFT is audio only // Busses don't have playlists, so we need to check that we actually are working with a playlist @@ -306,7 +306,7 @@ AnalysisWindow::analyze_data (Gtk::Button *button) } else if (source_selection_regions_rb.get_active()) { // cerr << "Analyzing selected regions on track " << *&rui->route().name() << endl; - TimeAxisViewPtr current_axis = (*i); + TimeAxisView *current_axis = (*i); for (RegionSelection::iterator j = ars.begin(); j != ars.end(); ++j) { // Check that the region is actually audio (so we can analyze it) @@ -315,7 +315,7 @@ AnalysisWindow::analyze_data (Gtk::Button *button) continue; // Check that the region really is selected on _this_ track/solo - if (arv->get_time_axis_view() != current_axis) + if ( &arv->get_time_axis_view() != current_axis) continue; // cerr << " - " << (*j)->region().name() << ": " << (*j)->region().length() << " samples starting at " << (*j)->region().position() << endl; |