mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Build plugin menu only when plugins change, and build the first version of it before it is required to ensure that the first processor box popup menu appears fairly quickly.
git-svn-id: svn://localhost/ardour2/branches/3.0@6092 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0aaa08a3d2
commit
1e8f2693f7
5 changed files with 34 additions and 12 deletions
|
|
@ -69,6 +69,9 @@ class PluginManager : public boost::noncopyable {
|
|||
void set_status (ARDOUR::PluginType type, std::string unique_id, PluginStatusType status);
|
||||
PluginStatusType get_status (const PluginInfoPtr&);
|
||||
|
||||
/** plugins were added to or removed from one of the PluginInfoLists */
|
||||
sigc::signal<void> PluginListChanged;
|
||||
|
||||
private:
|
||||
struct PluginStatus {
|
||||
ARDOUR::PluginType type;
|
||||
|
|
|
|||
|
|
@ -156,6 +156,8 @@ PluginManager::refresh ()
|
|||
#ifdef HAVE_AUDIOUNITS
|
||||
au_refresh ();
|
||||
#endif
|
||||
|
||||
PluginListChanged (); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue