diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-16 18:07:01 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-16 18:07:01 +0100 |
commit | c5162dbb45e66e7fd25430c9417a8e6a6b78080c (patch) | |
tree | aa83462b1b15c2b9930ea7342f7af7d0717d4115 /src/GsrInfo.cpp | |
parent | e0ddfa82dd585fe33cb5dc397ad418f336c56724 (diff) |
Only show app audio option if using pipewire
Diffstat (limited to 'src/GsrInfo.cpp')
-rw-r--r-- | src/GsrInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GsrInfo.cpp b/src/GsrInfo.cpp index bb410dc..276870b 100644 --- a/src/GsrInfo.cpp +++ b/src/GsrInfo.cpp @@ -21,6 +21,8 @@ namespace gsr { gsr_info->system_info.display_server = DisplayServer::X11; else if(key_value->value == "wayland") gsr_info->system_info.display_server = DisplayServer::WAYLAND; + } else if(key_value->key == "supports_app_audio") { + gsr_info->system_info.supports_app_audio = key_value->value == "yes"; } } |