summaryrefslogtreecommitdiff
path: root/src/audioinputenginemidi.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-04-23 21:36:16 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-04-23 21:36:16 +0200
commit567062ecd36338358e698dda9de8b79fb692c432 (patch)
tree3fe106c94db08bba129968770865bc20b99a6e89 /src/audioinputenginemidi.cc
parenteafdef4a5e7bb6cbed75b17a38a9b0e30c6e51a6 (diff)
Fix midifile-no-stored bug.
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