Skip to content

Commit

Permalink
added helper function MidiOutput::hasPendingMessages()
Browse files Browse the repository at this point in the history
  • Loading branch information
newspacer authored Nov 28, 2024
1 parent 51d11a2 commit a9a4358
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/juce_audio_devices/midi_io/juce_MidiDevices.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,9 @@ class JUCE_API MidiOutput final : private Thread
double millisecondCounterToStartAt,
double samplesPerSecondForBuffer);

/** Returns true if there are pending midi messages */
bool hasPendingMessages() const;

/** Gets rid of any midi messages that had been added by sendBlockOfMessages(). */
void clearAllPendingMessages();

Expand Down

0 comments on commit a9a4358

Please sign in to comment.