diff --git a/extras/Projucer/Source/Project/jucer_ProjectContentComponent.cpp b/extras/Projucer/Source/Project/jucer_ProjectContentComponent.cpp index 30baf32985..f65729fdfb 100644 --- a/extras/Projucer/Source/Project/jucer_ProjectContentComponent.cpp +++ b/extras/Projucer/Source/Project/jucer_ProjectContentComponent.cpp @@ -453,9 +453,7 @@ Component* ProjectContentComponent::createBuildTab (CompileEngineChildProcess* c #else if (child != nullptr) { - child->crashHandler = [this] (const String& m) { - this->handleCrash (m); - }; + child->crashHandler = [this] (const String& m) { this->handleCrash (m); }; return new BuildTabComponent (child, new ProjucerAppClasses::ErrorListComp (child->errorList)); } diff --git a/modules/juce_audio_devices/native/juce_ios_Audio.cpp b/modules/juce_audio_devices/native/juce_ios_Audio.cpp index e55d1371b7..d4734a0e06 100644 --- a/modules/juce_audio_devices/native/juce_ios_Audio.cpp +++ b/modules/juce_audio_devices/native/juce_ios_Audio.cpp @@ -287,7 +287,14 @@ public: return r; } - int getDefaultBufferSize() override { return 256; } + int getDefaultBufferSize() override + { + #if TARGET_IPHONE_SIMULATOR + return 512; + #else + return 256; + #endif + } String open (const BigInteger& inputChannelsWanted, const BigInteger& outputChannelsWanted,