/*
- * Copyright (C) 2016 Robin Gareus <robin@gareus.org>
+ * Copyright (C) 2016-2017 Paul Davis <paul@linuxaudiosystems.com>
+ * Copyright (C) 2016-2018 Robin Gareus <robin@gareus.org>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
// editor
STATIC(SessionLoad, &, 0)
STATIC(SessionClose, &, 0)
#endif
-//STATIC(EverySecond, get_timers().second, 0) // XXX
STATIC(ConfigChanged, &ARDOUR::Config->ParameterChanged, 1)
// engine instance
STATIC(EndTimeChanged, &ARDOUR::Session::EndTimeChanged, 1)
STATIC(Exported, &ARDOUR::Session::Exported, 2)
+// stripable static globals
+STATIC(Change, &PresentationInfo::Change, 0)
+
// session specific (re-subscribe when session changes)
SESSION(SessionConfigChanged, config.ParameterChanged, 1)
SESSION(TransportStateChange, TransportStateChange, 0)
// plugin manager instance
STATIC(PluginListChanged, &(PluginManager::instance().PluginListChanged), 0)
-STATIC(PluginStatusesChanged, &(PluginManager::instance().PluginStatusesChanged), 0)
+STATIC(PluginStatusChanged, &(PluginManager::instance().PluginStatusChanged), 3)
+//STATIC(PluginStatusesChanged, &(PluginManager::instance().PluginTagsChanged), 3)
// Diskstream static global
-STATIC(DiskOverrun, &ARDOUR::Diskstream::DiskOverrun, 0)
-STATIC(DiskUnderrun, &ARDOUR::Diskstream::DiskUnderrun, 0)
+STATIC(DiskOverrun, &ARDOUR::DiskWriter::Overrun, 0)
+STATIC(DiskUnderrun, &ARDOUR::DiskReader::Underrun, 0)
// Region static
STATIC(RegionPropertyChanged, &ARDOUR::Region::RegionPropertyChanged, 2)
+// Timers
+STATIC(LuaTimerS, &LuaInstance::LuaTimerS, 0)
+STATIC(LuaTimerDS, &LuaInstance::LuaTimerDS, 0)
+
+// Session load
+STATIC(SetSession, &LuaInstance::SetSession, 0)
+
// TODO per track/route signals,
// TODO per plugin actions / controllables
// TODO per region actions