Fix LTO
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
4b45e69e1a
commit
ede7ed7749
1 changed files with 9 additions and 4 deletions
|
|
@ -16,24 +16,29 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "plugin.hpp"
|
#include "plugin.hpp"
|
||||||
|
#include "../dpf/distrho/extra/Mutex.hpp"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------------------------------
|
||||||
// from PluginContext.hpp
|
// from PluginContext.hpp
|
||||||
|
|
||||||
namespace DISTRHO {
|
START_NAMESPACE_DISTRHO
|
||||||
|
|
||||||
static constexpr const uint32_t kModuleParameters = 24;
|
static constexpr const uint32_t kModuleParameters = 24;
|
||||||
|
|
||||||
|
class Plugin;
|
||||||
|
|
||||||
struct CardinalPluginContext : rack::Context {
|
struct CardinalPluginContext : rack::Context {
|
||||||
uint32_t bufferSize;
|
uint32_t bufferSize;
|
||||||
double sampleRate;
|
double sampleRate;
|
||||||
float parameters[kModuleParameters];
|
float parameters[kModuleParameters];
|
||||||
// more stuff follows, but we dont care..
|
Mutex mutex;
|
||||||
|
Plugin* const plugin;
|
||||||
|
CardinalPluginContext(Plugin* const p);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
END_NAMESPACE_DISTRHO
|
||||||
|
|
||||||
using namespace DISTRHO;
|
USE_NAMESPACE_DISTRHO;
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue