Browse Source

Fixed a documentation warning in juce_MidiFile.h

tags/2021-05-28
Noah Dayan 7 years ago
parent
commit
f737fc0882
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      modules/juce_audio_basics/midi/juce_MidiFile.h

+ 5
- 0
modules/juce_audio_basics/midi/juce_MidiFile.h View File

@@ -156,6 +156,7 @@ public:
terms of midi ticks. To convert them to seconds, use the convertTimestampTicksToSeconds()
method.
@param sourceStream the source stream
@param createMatchingNoteOffs if true, any missing note-offs for previous note-ons will
be automatically added at the end of the file by calling
MidiMessageSequence::updateMatchedPairs on each track.
@@ -167,6 +168,10 @@ public:
/** Writes the midi tracks as a standard midi file.
The midiFileType value is written as the file's format type, which can be 0, 1
or 2 - see the midi file spec for more info about that.
@param destStream the destination stream
@param midiFileType the type of midi file
@returns true if the operation succeeded.
*/
bool writeTo (OutputStream& destStream, int midiFileType = 1);


Loading…
Cancel
Save