Merge pull request #981 from jpcima/decent-sampler

Have the DS importer generate the correct loop mode
This commit is contained in:
JP Cimalando 2021-08-28 13:57:16 +02:00 committed by GitHub
commit 6595503864
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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");