summaryrefslogtreecommitdiff
path: root/gtk2_ardour/crossfade_edit.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-03-02 03:45:26 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-03-02 03:45:26 +0000
commit2f30610d8e0054c514e582979771466488969f74 (patch)
treebd0630d312f751d183c935a7b6600613f3502424 /gtk2_ardour/crossfade_edit.cc
parent384c8f26b59773a74b2c970179c0f34e8bb2e3fa (diff)
remove debugging for peaks ready signal, plus add new connection arg to Source::peaks_ready()
git-svn-id: svn://localhost/trunk/ardour2@343 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/crossfade_edit.cc')
-rw-r--r--gtk2_ardour/crossfade_edit.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/crossfade_edit.cc b/gtk2_ardour/crossfade_edit.cc
index 5ac5a57aa5..1a4304b2e8 100644
--- a/gtk2_ardour/crossfade_edit.cc
+++ b/gtk2_ardour/crossfade_edit.cc
@@ -1036,7 +1036,7 @@ CrossfadeEditor::make_waves (AudioRegion& region, WhichFade which)
gdouble yoff = n * ht;
- if (region.source(n).peaks_ready (bind (mem_fun(*this, &CrossfadeEditor::peaks_ready), &region, which))) {
+ if (region.source(n).peaks_ready (bind (mem_fun(*this, &CrossfadeEditor::peaks_ready), &region, which), peaks_ready_connection)) {
WaveView* waveview = new WaveView (*(canvas->root()));
@@ -1071,7 +1071,7 @@ CrossfadeEditor::peaks_ready (AudioRegion* r, WhichFade which)
will be ready by the time we want them. but our API forces us
to provide this, so ..
*/
-
+ peaks_ready_connection.disconnect ();
make_waves (*r, which);
}