diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-03-29 15:44:55 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-03-31 17:44:25 +0200 |
commit | 44695ff87966053ae090c2dd43ee6ab0a169775d (patch) | |
tree | 2f3c9343e0ef18495f031e1918e6557c834e81ab /src/audioinputenginemidi.cc | |
parent | bc4e506e48785ce448f18098b96c0d7333abb801 (diff) |
API Refactoring for class Instrument
Diffstat (limited to 'src/audioinputenginemidi.cc')
-rw-r--r-- | src/audioinputenginemidi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioinputenginemidi.cc b/src/audioinputenginemidi.cc index 80cb13a..ea632fe 100644 --- a/src/audioinputenginemidi.cc +++ b/src/audioinputenginemidi.cc @@ -67,7 +67,7 @@ bool AudioInputEngineMidi::loadMidiMap(const std::string& file, const Instrument mmap.midimap = p.midimap; for(size_t i = 0; i < instruments.size(); i++) { - mmap.instrmap[instruments[i]->name()] = i; + mmap.instrmap[instruments[i]->getName()] = i; } midimap = file; |