Have the DS importer generate the correct loop mode

This commit is contained in:
Jean Pierre Cimalando 2021-08-28 13:28:46 +02:00
parent fc1f0451ce
commit c70f50197b

View file

@ -202,7 +202,7 @@ void DecentSamplerInstrumentImporter::emitRegionalOpcodes(std::ostream& os, pugi
break;
case hash("loopEnabled"):
os << "loop_mode="
<< ((xmlOpcode.value == "true") ? "loop_continuous" : "one_shot") << "\n";
<< ((xmlOpcode.value == "true") ? "loop_continuous" : "no_loop") << "\n";
break;
case hash("attack"):
convertToReal("ampeg_attack");