Merge tag 'v0.23.8'

release v0.23.8
This commit is contained in:
Max Kellermann
2022-07-09 01:08:16 +02:00
21 changed files with 317 additions and 180 deletions

View File

@@ -257,6 +257,12 @@ public:
return HasFailed();
}
[[gnu::pure]]
bool LockIsReplayGainEnabled() const noexcept {
const std::scoped_lock<Mutex> protect(mutex);
return replay_gain_mode != ReplayGainMode::OFF;
}
/**
* Transition this obejct from DecoderState::START to
* DecoderState::DECODE.