player/Thread: add option "mixramp_analyzer"

This commit is contained in:
Max Kellermann
2021-12-03 19:59:54 +01:00
parent c884e2f285
commit 35c11afd54
11 changed files with 248 additions and 3 deletions

View File

@@ -419,6 +419,10 @@ public:
return mix_ramp.GetStart();
}
void SetMixRampStart(std::string &&s) noexcept {
mix_ramp.SetStart(std::move(s));
}
const char *GetMixRampEnd() const noexcept {
return mix_ramp.GetEnd();
}
@@ -427,6 +431,10 @@ public:
return previous_mix_ramp.GetEnd();
}
void SetMixRampPreviousEnd(std::string &&s) noexcept {
previous_mix_ramp.SetEnd(std::move(s));
}
void SetMixRamp(MixRampInfo &&new_value) noexcept {
mix_ramp = std::move(new_value);
}