mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Minor whitespace tidying
This commit is contained in:
parent
b6f0b2d0aa
commit
1a46fb3a5f
42 changed files with 106 additions and 106 deletions
|
|
@ -174,11 +174,11 @@ void AudioPluginFormat::createPluginInstanceAsync (const PluginDescription& desc
|
|||
void AudioPluginFormat::createPluginInstanceAsync (const PluginDescription& description,
|
||||
double initialSampleRate,
|
||||
int initialBufferSize,
|
||||
std::function<void (AudioPluginInstance*, const String&)> f)
|
||||
std::function<void(AudioPluginInstance*, const String&)> f)
|
||||
{
|
||||
struct CallbackInvoker : public AudioPluginFormat::InstantiationCompletionCallback
|
||||
{
|
||||
CallbackInvoker (std::function<void (AudioPluginInstance*, const String&)> inCompletion)
|
||||
CallbackInvoker (std::function<void(AudioPluginInstance*, const String&)> inCompletion)
|
||||
: completion (inCompletion)
|
||||
{}
|
||||
|
||||
|
|
@ -187,7 +187,7 @@ void AudioPluginFormat::createPluginInstanceAsync (const PluginDescription& desc
|
|||
completion (instance, error);
|
||||
}
|
||||
|
||||
std::function<void (AudioPluginInstance*, const String&)> completion;
|
||||
std::function<void(AudioPluginInstance*, const String&)> completion;
|
||||
};
|
||||
|
||||
createPluginInstanceAsync (description, initialSampleRate, initialBufferSize, new CallbackInvoker (f));
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ public:
|
|||
void createPluginInstanceAsync (const PluginDescription& description,
|
||||
double initialSampleRate,
|
||||
int initialBufferSize,
|
||||
std::function<void (AudioPluginInstance*, const String&)> completionCallback);
|
||||
std::function<void(AudioPluginInstance*, const String&)> completionCallback);
|
||||
|
||||
/** Should do a quick check to see if this file or directory might be a plugin of
|
||||
this format.
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ namespace PluginFormatManagerHelpers
|
|||
struct ErrorLambdaOnMessageThread : public CallbackMessage
|
||||
{
|
||||
ErrorLambdaOnMessageThread (const String& inError,
|
||||
std::function<void (AudioPluginInstance*, const String&)> f)
|
||||
std::function<void(AudioPluginInstance*, const String&)> f)
|
||||
: error (inError), lambda (f)
|
||||
{
|
||||
}
|
||||
|
|
@ -54,7 +54,7 @@ namespace PluginFormatManagerHelpers
|
|||
void messageCallback() override { lambda (nullptr, error); }
|
||||
|
||||
String error;
|
||||
std::function<void (AudioPluginInstance*, const String&)> lambda;
|
||||
std::function<void(AudioPluginInstance*, const String&)> lambda;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ void AudioPluginFormatManager::createPluginInstanceAsync (const PluginDescriptio
|
|||
void AudioPluginFormatManager::createPluginInstanceAsync (const PluginDescription& description,
|
||||
double initialSampleRate,
|
||||
int initialBufferSize,
|
||||
std::function<void (AudioPluginInstance*, const String&)> f)
|
||||
std::function<void(AudioPluginInstance*, const String&)> f)
|
||||
{
|
||||
String error;
|
||||
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ public:
|
|||
void createPluginInstanceAsync (const PluginDescription& description,
|
||||
double initialSampleRate,
|
||||
int initialBufferSize,
|
||||
std::function<void (AudioPluginInstance*, const String&)> completionCallback);
|
||||
std::function<void(AudioPluginInstance*, const String&)> completionCallback);
|
||||
|
||||
/** Checks that the file or component for this plugin actually still exists.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue