From f0bbbbe4a9d6b0314dc98ed27b63e96045a6e8cf Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 25 Feb 2025 17:33:21 +0100 Subject: Replay on startup: wait until audio devices are available before turning replay on --- include/Config.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/Config.hpp') diff --git a/include/Config.hpp b/include/Config.hpp index 1c82822..1e2e9cb 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -11,6 +11,15 @@ namespace gsr { struct SupportedCaptureOptions; + enum class ReplayStartupMode { + DONT_TURN_ON_AUTOMATICALLY, + TURN_ON_AT_SYSTEM_STARTUP, + TURN_ON_AT_FULLSCREEN, + TURN_ON_AT_POWER_SUPPLY_CONNECTED + }; + + ReplayStartupMode replay_startup_string_to_type(const char *startup_mode_str); + struct ConfigHotkey { int64_t key = 0; // Mgl key uint32_t modifiers = 0; // HotkeyModifier -- cgit v1.2.3-70-g09d2