summaryrefslogtreecommitdiff
path: root/src/audioinputenginemidi.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/audioinputenginemidi.cc')
-rw-r--r--src/audioinputenginemidi.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/audioinputenginemidi.cc b/src/audioinputenginemidi.cc
index 6aa9d45..00aa518 100644
--- a/src/audioinputenginemidi.cc
+++ b/src/audioinputenginemidi.cc
@@ -44,6 +44,13 @@ void AudioInputEngineMidi::loadMidiMap(std::string f, Instruments &instruments)
for(size_t i = 0; i < instruments.size(); i++) {
mmap.instrmap[instruments[i]->name()] = i;
}
+
+ file = f;
+}
+
+std::string AudioInputEngineMidi::midimapFile()
+{
+ return file;
}
#ifdef TEST_AUDIOINPUTENGINEMIDI