diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-01-17 12:16:46 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-01-17 12:16:46 +0000 |
commit | 9fc6895565fc81ec6061088fe7f4fc4e8318c800 (patch) | |
tree | 3a2a36c5fd72d66f9d506f27458b7cf4c9bc8b4a /gtk2_ardour/analysis_window.cc | |
parent | 3dd8ccb331884c9776085b6f933c1058163413cf (diff) |
a better version of: fix compile with FFT_ANALYSIS=1, problem caused by a change in the type of RegionSelection
git-svn-id: svn://localhost/ardour2/trunk@1335 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/analysis_window.cc')
-rw-r--r-- | gtk2_ardour/analysis_window.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/analysis_window.cc b/gtk2_ardour/analysis_window.cc index e21d09e5f0..dd749d2bb1 100644 --- a/gtk2_ardour/analysis_window.cc +++ b/gtk2_ardour/analysis_window.cc @@ -226,7 +226,6 @@ AnalysisWindow::analyze_data (Gtk::Button *button) TimeSelection ts = s.time; RegionSelection ars = s.regions; - for (TrackSelection::iterator i = s.tracks.begin(); i != s.tracks.end(); ++i) { boost::shared_ptr<AudioPlaylist> pl = boost::dynamic_pointer_cast<AudioPlaylist>((*i)->playlist()); @@ -278,7 +277,7 @@ AnalysisWindow::analyze_data (Gtk::Button *button) TimeAxisView *current_axis = (*i); - for (std::list<RegionView *>::iterator j = ars.begin(); j != ars.end(); ++j) { + for (RegionSelection::iterator j = ars.begin(); j != ars.end(); ++j) { // Check that the region is actually audio (so we can analyze it) AudioRegionView* arv = dynamic_cast<AudioRegionView*>(*j); if (!arv) |