From 51d40c6daf2c04ace33812bf6e68c1f60d673d38 Mon Sep 17 00:00:00 2001 From: xenakios Date: Tue, 27 Feb 2018 00:32:33 +0200 Subject: [PATCH] MacOS build --- Source/PluginEditor.cpp | 6 +++++- Source/PluginProcessor.cpp | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index 7cb74d3..1519251 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -422,7 +422,11 @@ void PaulstretchpluginAudioProcessorEditor::showSettingsMenu() } if (r == 8) { - processor.offlineRender(File("C:\\MusicAudio\\sourcesamples\\paultesmaus\\plugin_offline_test\\out.wav")); +#ifdef JUCE_WINDOWS + processor.offlineRender(File("C:\\MusicAudio\\sourcesamples\\paultesmaus\\plugin_offline_test\\out.wav")); +#else + processor.offlineRender(File("/Users/teemu/AudioProjects/sourcesamples/paultests/pspout.wav")); +#endif } if (r == 9) { diff --git a/Source/PluginProcessor.cpp b/Source/PluginProcessor.cpp index 912d133..6509cd2 100644 --- a/Source/PluginProcessor.cpp +++ b/Source/PluginProcessor.cpp @@ -21,6 +21,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "PluginProcessor.h" #include "PluginEditor.h" #include +#include #ifdef WIN32 #undef min