diff options
author | Matthew Hoops | 2012-09-07 14:33:39 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-09-07 14:33:39 -0400 |
commit | f333e633977a3dd17ce272edb5eb697e62c1af19 (patch) | |
tree | cfe880bb2aa6043d8b7237d3dbccadbbd7dc1b05 /audio/midiparser_qt.h | |
parent | c01dfba093f0a2506c912f644dbb44df7b877d92 (diff) | |
download | scummvm-rg350-f333e633977a3dd17ce272edb5eb697e62c1af19.tar.gz scummvm-rg350-f333e633977a3dd17ce272edb5eb697e62c1af19.tar.bz2 scummvm-rg350-f333e633977a3dd17ce272edb5eb697e62c1af19.zip |
AUDIO: Fix QuickTime MIDI end of track
The end marker is used for editing only
Diffstat (limited to 'audio/midiparser_qt.h')
-rw-r--r-- | audio/midiparser_qt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/midiparser_qt.h b/audio/midiparser_qt.h index 2dcd61b9f9..50234020a0 100644 --- a/audio/midiparser_qt.h +++ b/audio/midiparser_qt.h @@ -76,6 +76,7 @@ private: struct MIDITrackInfo { NoteRequestList noteRequests; byte *data; + uint32 size; uint32 timeScale; }; @@ -93,7 +94,7 @@ private: Common::Rational readFixed(Common::SeekableReadStream *stream); NoteRequestList readNoteRequestList(Common::SeekableReadStream *stream); - byte *readWholeTrack(Common::QuickTimeParser::Track *track); + byte *readWholeTrack(Common::QuickTimeParser::Track *track, uint32 &trackSize); Common::Array<MIDITrackInfo> _trackInfo; uint32 _loadedInstruments; |