patch-libs_ardour_audioengine_cc 622 B

12345678910111213141516
  1. $OpenBSD: patch-libs_ardour_audioengine_cc,v 1.1 2016/03/20 11:58:32 ajacoutot Exp $
  2. Fix build with libsigc++ >=2.8.0
  3. --- libs/ardour/audioengine.cc.orig Sun Mar 20 11:21:30 2016
  4. +++ libs/ardour/audioengine.cc Sun Mar 20 11:21:46 2016
  5. @@ -486,7 +486,7 @@ AudioEngine::start_metering_thread ()
  6. {
  7. if (m_meter_thread == 0) {
  8. g_atomic_int_set (&m_meter_exit, 0);
  9. - m_meter_thread = Glib::Thread::create (sigc::mem_fun(this, &AudioEngine::meter_thread),
  10. + m_meter_thread = Glib::Thread::create (sigc::mem_fun(*this, &AudioEngine::meter_thread),
  11. 500000, true, true, Glib::THREAD_PRIORITY_NORMAL);
  12. }
  13. }