mirror of
https://github.com/thestk/stk
synced 2026-04-20 06:26:55 +00:00
Version 4.4.3
This commit is contained in:
committed by
Stephen Sinclair
parent
baca57040b
commit
0aec39260a
@@ -40,10 +40,10 @@ class MidiFileIn : public Stk
|
||||
~MidiFileIn();
|
||||
|
||||
//! Return the MIDI file format (0, 1, or 2).
|
||||
int getFileFormat() const;
|
||||
int getFileFormat() const { return format_; };
|
||||
|
||||
//! Return the number of tracks in the MIDI file.
|
||||
unsigned int getNumberOfTracks() const;
|
||||
unsigned int getNumberOfTracks() const { return nTracks_; };
|
||||
|
||||
//! Return the MIDI file division value from the file header.
|
||||
/*!
|
||||
@@ -51,7 +51,7 @@ class MidiFileIn : public Stk
|
||||
MIDI File Specification. In particular, if the MSB is set, the
|
||||
file uses time-code representations for delta-time values.
|
||||
*/
|
||||
int getDivision() const;
|
||||
int getDivision() const { return division_; };
|
||||
|
||||
//! Move the specified track event reader to the beginning of its track.
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user