diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-28 15:01:01 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-28 15:01:01 +0000 |
commit | 267cfbe731debe3f3be88375bce34644ac7c6323 (patch) | |
tree | 5e5dcc0868c483604aa94e83fbe1a4a7e28a091a /gtk2_ardour/strip_silence_dialog.cc | |
parent | 9e5f5ed0ee6d885808d1f0e4a5d2e2abd52958f1 (diff) |
No-op; coding style.
git-svn-id: svn://localhost/ardour2/branches/3.0@8988 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/strip_silence_dialog.cc')
-rw-r--r-- | gtk2_ardour/strip_silence_dialog.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/strip_silence_dialog.cc b/gtk2_ardour/strip_silence_dialog.cc index daa540d039..3e68f0dd06 100644 --- a/gtk2_ardour/strip_silence_dialog.cc +++ b/gtk2_ardour/strip_silence_dialog.cc @@ -140,7 +140,7 @@ void StripSilenceDialog::silences (AudioIntervalMap& m) { for (list<ViewInterval>::iterator v = views.begin(); v != views.end(); ++v) { - pair<boost::shared_ptr<Region>,AudioIntervalResult> newpair ((*v).view->region(), (*v).intervals); + pair<boost::shared_ptr<Region>,AudioIntervalResult> newpair (v->view->region(), v->intervals); m.insert (newpair); } } @@ -149,7 +149,7 @@ void StripSilenceDialog::drop_rects () { for (list<ViewInterval>::iterator v = views.begin(); v != views.end(); ++v) { - (*v).view->drop_silent_frames (); + v->view->drop_silent_frames (); } } @@ -190,7 +190,7 @@ StripSilenceDialog::update_silence_rects () double const y = _threshold.get_value(); for (list<ViewInterval>::iterator v = views.begin(); v != views.end(); ++v) { - (*v).view->set_silent_frames ((*v).intervals, y); + v->view->set_silent_frames (v->intervals, y); } } @@ -215,7 +215,7 @@ StripSilenceDialog::detection_thread_work () boost::shared_ptr<AudioRegion> ar = boost::dynamic_pointer_cast<AudioRegion> ((*i).view->region()); if (ar) { - (*i).intervals = ar->find_silence (dB_to_coefficient (threshold ()), minimum_length (), _interthread_info); + i->intervals = ar->find_silence (dB_to_coefficient (threshold ()), minimum_length (), _interthread_info); } if (_interthread_info.cancel) { |