diff options
author | André Nusser <andre.nusser@googlemail.com> | 2016-03-23 18:24:29 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-03-23 18:24:29 +0100 |
commit | 5c04b951ffe53e1a31182bb0814908af8d7f0a6f (patch) | |
tree | 5499759253aaa92abfa853aa55fede9e9029f140 /src/audioinputenginemidi.cc | |
parent | e8fcde7654f2d7dce494ebe1ca27abbebc3908b4 (diff) |
Do the file related actions in SAXParser.
Diffstat (limited to 'src/audioinputenginemidi.cc')
-rw-r--r-- | src/audioinputenginemidi.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audioinputenginemidi.cc b/src/audioinputenginemidi.cc index 052c5f0..5c87c3a 100644 --- a/src/audioinputenginemidi.cc +++ b/src/audioinputenginemidi.cc @@ -58,8 +58,8 @@ bool AudioInputEngineMidi::loadMidiMap(std::string file, Instruments &instrument if(f == "") return false; - MidiMapParser p(f); - if(p.parse()) { + MidiMapParser p; + if(p.parseFile(f)) { return false; } |