score-plugin-ysfx/YSFX/ApplicationPlugin.hpp
1 #pragma once
2 #include <ysfx.h>
3 
4 #include <score/plugins/application/GUIApplicationPlugin.hpp>
5 
6 #include <ossia/detail/hash_map.hpp>
7 
8 #include <verdigris>
9 
10 namespace YSFX
11 {
12 struct HostContext;
13 struct GlobalContext;
14 
16  : public QObject
18 {
19 public:
22  {
23  ysfx_register_builtin_audio_formats(config.get());
24  }
25 
26  ~ApplicationPlugin() override { }
27 
28  ysfx_config_u config{ysfx_config_new()};
29 };
30 
31 }
Definition: score-plugin-ysfx/YSFX/ApplicationPlugin.hpp:18
Definition: GUIApplicationPlugin.hpp:31
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24