58 static int getDefaultDeviceIndex();
70 static MidiOutput* openDevice (
int deviceIndex);
73 #if JUCE_LINUX || JUCE_MAC || JUCE_IOS || DOXYGEN 97 void sendBlockOfMessagesNow (
const MidiBuffer& buffer);
117 void sendBlockOfMessages (
const MidiBuffer& buffer,
118 double millisecondCounterToStartAt,
119 double samplesPerSecondForBuffer);
122 void clearAllPendingMessages();
127 void startBackgroundThread();
132 void stopBackgroundThread();
137 void*
internal =
nullptr;
146 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (
MidiOutput)
#define JUCE_API
This macro is added to all JUCE public class declarations.
Encapsulates a MIDI message.
A special array for holding a list of strings.
const String & getName() const noexcept
Returns the name of this device.
Holds a sequence of time-stamped midi events.
Controls a physical MIDI output device.