early-access version 3170

This commit is contained in:
pineappleEA
2022-11-30 18:07:45 +01:00
parent bc8c8445f6
commit 16cad67595
19 changed files with 33 additions and 99 deletions

View File

@@ -210,11 +210,6 @@ public:
*/
void Unstall();
private:
[[nodiscard]] bool IsStalled() const {
return stalled_lock.owns_lock();
}
protected:
/// Core system
Core::System& system;
@@ -246,7 +241,7 @@ private:
f32 system_volume{1.0f};
/// Set via IAudioDevice service calls
f32 device_volume{1.0f};
/// True if coretiming has been stalled
std::mutex stall_guard;
std::unique_lock<std::mutex> stalled_lock;
};