summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/panner_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/panner_manager.h')
-rw-r--r--libs/ardour/ardour/panner_manager.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/libs/ardour/ardour/panner_manager.h b/libs/ardour/ardour/panner_manager.h
index d5b183c859..483691c944 100644
--- a/libs/ardour/ardour/panner_manager.h
+++ b/libs/ardour/ardour/panner_manager.h
@@ -8,36 +8,36 @@
namespace ARDOUR {
struct PannerInfo {
- PanPluginDescriptor descriptor;
- void* module;
-
- PannerInfo (PanPluginDescriptor& d, void* handle)
- : descriptor (d)
- , module (handle)
- {}
-
- ~PannerInfo () {
- dlclose (module);
- }
+ PanPluginDescriptor descriptor;
+ void* module;
+
+ PannerInfo (PanPluginDescriptor& d, void* handle)
+ : descriptor (d)
+ , module (handle)
+ {}
+
+ ~PannerInfo () {
+ dlclose (module);
+ }
};
-
+
class PannerManager : public ARDOUR::SessionHandlePtr
{
- public:
- ~PannerManager ();
- static PannerManager& instance ();
-
- void discover_panners ();
- std::list<PannerInfo*> panner_info;
-
- PannerInfo* select_panner (ChanCount in, ChanCount out);
-
- private:
- PannerManager();
- static PannerManager* _instance;
-
- PannerInfo* get_descriptor (std::string path);
- int panner_discover (std::string path);
+public:
+ ~PannerManager ();
+ static PannerManager& instance ();
+
+ void discover_panners ();
+ std::list<PannerInfo*> panner_info;
+
+ PannerInfo* select_panner (ChanCount in, ChanCount out);
+
+private:
+ PannerManager();
+ static PannerManager* _instance;
+
+ PannerInfo* get_descriptor (std::string path);
+ int panner_discover (std::string path);
};
} // namespace