[Ardour-Dev] Fwd: Fixed Bug http://tracker.ardour.org/view.php?id=1985

Hans Baier hansfbaier at googlemail.com
Tue Feb 26 15:05:12 PST 2008


---------- Forwarded message ----------
From: Hans Baier <hansfbaier at googlemail.com>
Date: 27.02.2008 06:02
Subject: Fixed Bug http://tracker.ardour.org/view.php?id=1985
To: Dave Robillard <drobilla at connect.carleton.ca>


That did the trick in audioengine.cc:

  AudioEngine::remove_session ()
  {
        Glib::Mutex::Lock lm (_process_lock);
 @@ -523,8 +523,8 @@
        } else {
                session = 0;
        }
 -
 -       remove_all_ports ();
 +
 +       //remove_all_ports ();
  }

 It looks like remove_all_ports is superfluous,
 because the ports are removed later one by one.

 With this patch closing and reopening Sessions works just fine.

 Cheers,

Hans


 P.S. Took me about 8 hours to get down to that...............



More information about the Ardour-Dev mailing list