***********************************************************************/
bool
-AudioSource::peaks_ready (boost::function<void()> doThisWhenReady, boost::signals2::connection& connect_here_if_not) const
+AudioSource::peaks_ready (boost::function<void()> doThisWhenReady, Connection& connect_here_if_not, EventLoop* event_loop) const
{
bool ret;
Glib::Mutex::Lock lm (_peaks_ready_lock);
*/
if (!(ret = _peaks_built)) {
- connect_here_if_not = PeaksReady.connect (doThisWhenReady);
+ PeaksReady.connect (connect_here_if_not, doThisWhenReady, event_loop);
}
return ret;