diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-01 23:54:06 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-01 23:54:06 +0800 |
commit | d418712c981d9854fa6429d65773368ca63b8dac (patch) | |
tree | 48eb1f25753a1734a3d7cf5d8303e7936c4844f3 /qmpmidiplay.hpp | |
parent | 3db127ce64eadb54568e218124744a1de713667e (diff) | |
download | QMidiPlayer-d418712c981d9854fa6429d65773368ca63b8dac.tar.xz |
Strawberry Crisis. (WTF)
Diffstat (limited to 'qmpmidiplay.hpp')
-rw-r--r-- | qmpmidiplay.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qmpmidiplay.hpp b/qmpmidiplay.hpp index 472e46e..88aa097 100644 --- a/qmpmidiplay.hpp +++ b/qmpmidiplay.hpp @@ -36,13 +36,14 @@ class CMidiFile int eventReader(); void trackChunkReader(); void headerChunkReader(); - void chunkReader(int hdrXp); + int chunkReader(int hdrXp); public: CMidiFile(const char* fn); ~CMidiFile(); const SEvent* getEvent(uint32_t id); uint32_t getEventCount(); uint32_t getDivision(); + uint32_t getNoteCount(); const char* getTitle(); const char* getCopyright(); }; @@ -91,6 +92,7 @@ class CMidiPlayer double getFtime(); void getCurrentTimeSignature(int *n,int *d); void getCurrentKeySignature(int *ks); + uint32_t getFileNoteCount(); double getTempo(); const char* getTitle(); const char* getCopyright(); |