diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-17 13:15:38 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-17 13:16:42 +0100 |
commit | 62ff6492045a357454e145e936174e273bfd898f (patch) | |
tree | 0a60f65eb1a7e324df4e2e2fa1034f7b7c891f16 /src/main.cpp | |
parent | 0ee68146a7cfbabdb1aa20355cb1479fe7277bd0 (diff) |
--info also verify pipewire connection for app audio
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 98215be..55ad7fa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1902,6 +1902,11 @@ static void list_system_info(bool wayland) { bool supports_app_audio = false; #ifdef GSR_APP_AUDIO supports_app_audio = pulseaudio_server_is_pipewire(); + gsr_pipewire_audio audio; + if(gsr_pipewire_audio_init(&audio)) + gsr_pipewire_audio_deinit(&audio); + else + supports_app_audio = false; #endif printf("supports_app_audio|%s\n", supports_app_audio ? "yes" : "no"); } |