Rework to allow multi-context audio, custom driver, custom context
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
963c669d55
commit
e0e50db2bc
3 changed files with 240 additions and 135 deletions
|
|
@ -21,9 +21,8 @@
|
|||
#include <ui/common.hpp>
|
||||
#include <window/Window.hpp>
|
||||
|
||||
#ifdef NDEBUG
|
||||
# undef DEBUG
|
||||
#endif
|
||||
#include "PluginContext.hpp"
|
||||
|
||||
#include "DistrhoUI.hpp"
|
||||
#include "ResizeHandle.hpp"
|
||||
|
||||
|
|
@ -42,11 +41,11 @@ START_NAMESPACE_DISTRHO
|
|||
|
||||
// -----------------------------------------------------------------------------------------------------------
|
||||
|
||||
rack::Context* getRackContextFromPlugin(void* ptr);
|
||||
CardinalPluginContext* getRackContextFromPlugin(void* ptr);
|
||||
|
||||
class CardinalUI : public UI
|
||||
{
|
||||
rack::Context* const fContext;
|
||||
CardinalPluginContext* const fContext;
|
||||
rack::math::Vec fLastMousePos;
|
||||
ResizeHandle fResizeHandle;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue