feat: add precision setting for mix delay up & down (#5314)

This commit is contained in:
philmoz
2024-07-29 20:07:58 +10:00
committed by GitHub
parent e323bd6821
commit bdfb94ae83
42 changed files with 242 additions and 129 deletions
@@ -143,6 +143,7 @@ Node convert<MixData>::encode(const MixData& rhs)
node["weight"] = YamlSourceNumRefEncode(rhs.weight);
node["swtch"] = rhs.swtch;
node["curve"] = rhs.curve;
node["delayPrec"] = rhs.delayPrec;
node["delayUp"] = rhs.delayUp;
node["delayDown"] = rhs.delayDown;
node["speedPrec"] = rhs.speedPrec;
@@ -166,6 +167,7 @@ bool convert<MixData>::decode(const Node& node, MixData& rhs)
}
node["swtch"] >> rhs.swtch;
node["curve"] >> rhs.curve;
node["delayPrec"] >> rhs.delayPrec;
node["delayUp"] >> rhs.delayUp;
node["delayDown"] >> rhs.delayDown;
node["speedPrec"] >> rhs.speedPrec;