diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-03-02 03:45:26 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-03-02 03:45:26 +0000 |
commit | 2f30610d8e0054c514e582979771466488969f74 (patch) | |
tree | bd0630d312f751d183c935a7b6600613f3502424 /libs/ardour/source.cc | |
parent | 384c8f26b59773a74b2c970179c0f34e8bb2e3fa (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 'libs/ardour/source.cc')
-rw-r--r-- | libs/ardour/source.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc index f707dc44e5..25e9b43899 100644 --- a/libs/ardour/source.cc +++ b/libs/ardour/source.cc @@ -305,7 +305,7 @@ void Source::clear_queue_for_peaks () bool -Source::peaks_ready (sigc::slot<void> the_slot) const +Source::peaks_ready (sigc::slot<void> the_slot, sigc::connection& conn) const { bool ret; LockMonitor lm (_lock, __LINE__, __FILE__); @@ -315,7 +315,7 @@ Source::peaks_ready (sigc::slot<void> the_slot) const */ if (!(ret = _peaks_built)) { - PeaksReady.connect (the_slot); + conn = PeaksReady.connect (the_slot); } return ret; |