backport the increase in the click pool size and clear_clicks() call from 3.X

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11498 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-02-15 19:11:52 +00:00
parent b829261fbc
commit f3b38e263a
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ using namespace std;
using namespace ARDOUR;
using namespace PBD;
Pool Session::Click::pool ("click", sizeof (Click), 128);
Pool Session::Click::pool ("click", sizeof (Click), 1024);
void
Session::click (nframes_t start, nframes_t nframes)

View File

@ -349,7 +349,6 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
auditioner->cancel_audition ();
}
clear_clicks();
cumulative_rf_motion = 0;
reset_rf_scale (0);
@ -484,6 +483,8 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
}
clear_clicks ();
/* do this before seeking, because otherwise the Diskstreams will do the wrong thing in seamless loop mode.
*/