Fix: HelperPluginHost.h use flat include for SharedAudioBuffer.h
Browse files
Source/Helper/HelperPluginHost.h
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
#include <thread>
|
| 6 |
#include <atomic>
|
| 7 |
|
| 8 |
-
#include "
|
| 9 |
|
| 10 |
class HelperPluginHost
|
| 11 |
{
|
|
@@ -48,7 +48,7 @@ public:
|
|
| 48 |
// Configure
|
| 49 |
void configure(double sampleRate, int blockSize, int channels);
|
| 50 |
|
| 51 |
-
// Param change callback
|
| 52 |
std::function<void(int index, float value)> onParamChanged;
|
| 53 |
|
| 54 |
private:
|
|
@@ -57,7 +57,6 @@ private:
|
|
| 57 |
juce::AudioPluginFormatManager formatManager;
|
| 58 |
std::unique_ptr<juce::AudioPluginInstance> plugin;
|
| 59 |
|
| 60 |
-
// Audio thread
|
| 61 |
std::thread audioThread;
|
| 62 |
std::atomic<bool> processing{false};
|
| 63 |
|
|
@@ -69,6 +68,5 @@ private:
|
|
| 69 |
int currentBlockSize = 512;
|
| 70 |
int currentChannels = 2;
|
| 71 |
|
| 72 |
-
// GUI window
|
| 73 |
std::unique_ptr<juce::DocumentWindow> guiWindow;
|
| 74 |
};
|
|
|
|
| 5 |
#include <thread>
|
| 6 |
#include <atomic>
|
| 7 |
|
| 8 |
+
#include "SharedAudioBuffer.h"
|
| 9 |
|
| 10 |
class HelperPluginHost
|
| 11 |
{
|
|
|
|
| 48 |
// Configure
|
| 49 |
void configure(double sampleRate, int blockSize, int channels);
|
| 50 |
|
| 51 |
+
// Param change callback
|
| 52 |
std::function<void(int index, float value)> onParamChanged;
|
| 53 |
|
| 54 |
private:
|
|
|
|
| 57 |
juce::AudioPluginFormatManager formatManager;
|
| 58 |
std::unique_ptr<juce::AudioPluginInstance> plugin;
|
| 59 |
|
|
|
|
| 60 |
std::thread audioThread;
|
| 61 |
std::atomic<bool> processing{false};
|
| 62 |
|
|
|
|
| 68 |
int currentBlockSize = 512;
|
| 69 |
int currentChannels = 2;
|
| 70 |
|
|
|
|
| 71 |
std::unique_ptr<juce::DocumentWindow> guiWindow;
|
| 72 |
};
|