29AudioPluginFormat::AudioPluginFormat() {}
48 errorMessage =
NEEDS_TRANS (
"This plug-in cannot be instantiated synchronously");
58 instance = std::move (p);
74 : desc (d), sampleRate (
sr), bufferSize (size), callbackToUse (std::move (call))
92void AudioPluginFormat::handleMessage (
const Message& message)
94 if (
auto m =
dynamic_cast<const AsyncCreateMessage*
> (&message))
void postMessage(Message *message) const
Sends a message to the message queue, for asynchronous delivery to this listener later on.
static MessageManager * getInstance()
Returns the global instance of the MessageManager.
The base class for objects that can be sent to a MessageListener.
A small class to represent some facts about a particular type of plug-in.
Allows threads to wait for events triggered by other threads.
#define NEEDS_TRANS(stringLiteral)
A dummy version of the TRANS macro, used to indicate a string literal that should be added to the tra...
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...