aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-06 16:27:06 -0400
committerMatthew Hoops2012-09-06 16:27:06 -0400
commitc22f76dbbc487b5a5e89d327bec2c550ce47378c (patch)
tree1ec878732be2d1b2b28bb9d933cc7cf77300f69f
parentcc309f4d166ec74e06541145550cc86125f0247c (diff)
downloadscummvm-rg350-c22f76dbbc487b5a5e89d327bec2c550ce47378c.tar.gz
scummvm-rg350-c22f76dbbc487b5a5e89d327bec2c550ce47378c.tar.bz2
scummvm-rg350-c22f76dbbc487b5a5e89d327bec2c550ce47378c.zip
AUDIO: Fill in _tracks from MidiParser_QT
-rw-r--r--audio/midiparser_qt.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/midiparser_qt.cpp b/audio/midiparser_qt.cpp
index 0701f7e919..8ddf6d66e7 100644
--- a/audio/midiparser_qt.cpp
+++ b/audio/midiparser_qt.cpp
@@ -193,7 +193,10 @@ void MidiParser_QT::initCommon() {
// Now we have all our info needed in _trackInfo from whatever container
// form, we can fill in the MidiParser tracks.
- // TODO
+ _num_tracks = _trackInfo.size();
+
+ for (uint32 i = 0; i < _trackInfo.size(); i++)
+ MidiParser::_tracks[i] = _trackInfo[i].data;
}
byte *MidiParser_QT::readWholeTrack(Common::QuickTimeParser::Track *track) {