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