13
0

A band aid for plugin editor related crash. Something needs to be

figured out which does not include locking between the GUI and the RT
thread.


git-svn-id: svn://localhost/trunk/ardour2@319 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sampo Savolainen 2006-02-12 15:40:58 +00:00
parent aa554c5d73
commit b52a7b9cc8

View File

@ -320,14 +320,14 @@ void
PluginInsert::automation_snapshot (jack_nframes_t now)
{
map<uint32_t,AutomationList*>::iterator li;
for (li = parameter_automation.begin(); li != parameter_automation.end(); ++li) {
AutomationList& alist (*((*li).second));
if (alist.automation_write ()) {
AutomationList *alist = ((*li).second);
if (alist != 0 && alist->automation_write ()) {
float val = _plugins[0]->get_parameter ((*li).first);
alist.rt_add (now, val);
alist->rt_add (now, val);
last_automation_snapshot = now;
}
}