summaryrefslogtreecommitdiff
path: root/drumgizmo/input/midifile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/input/midifile.cc')
-rw-r--r--drumgizmo/input/midifile.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/drumgizmo/input/midifile.cc b/drumgizmo/input/midifile.cc
index 76dff12..27a8e04 100644
--- a/drumgizmo/input/midifile.cc
+++ b/drumgizmo/input/midifile.cc
@@ -59,7 +59,7 @@ bool MidifileInputEngine::init(const Instruments& instruments)
std::cerr << "[MidifileInputEngine] Missing midi filename\n";
return false;
}
- if(midimap == "")
+ if(midimap_file == "")
{
std::cerr << "[MidifileInputEngine] Missing midimap filename\n";
return false;
@@ -71,10 +71,10 @@ bool MidifileInputEngine::init(const Instruments& instruments)
<< "'\n";
return false;
}
- if(!loadMidiMap(midimap, instruments))
+ if(!loadMidiMap(midimap_file, instruments))
{
std::cerr << "[MidifileInputEngine] Failed to parse midimap '"
- << midimap << "'\n";
+ << midimap_file << "'\n";
return false;
}
return true;
@@ -103,7 +103,7 @@ void MidifileInputEngine::setParm(const std::string& parm, const std::string& va
else if(parm == "midimap")
{
// apply midimap filename
- midimap = value;
+ midimap_file = value;
}
else if(parm == "loop")
{