mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-29 02:40:05 +00:00
Tweaked the iOS audio device to make the default buffer size play in the simulator
This commit is contained in:
parent
61e71eb1dc
commit
7abbf67a1a
2 changed files with 9 additions and 4 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue