mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-04-03 02:01:39 +09:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e0f5413d9 | ||
|
|
62ff649204 |
@@ -1,4 +1,4 @@
|
||||
project('gpu-screen-recorder', ['c', 'cpp'], version : '4.3.0', default_options : ['warning_level=2'])
|
||||
project('gpu-screen-recorder', ['c', 'cpp'], version : '4.3.1', default_options : ['warning_level=2'])
|
||||
|
||||
add_project_arguments('-Wshadow', language : ['c', 'cpp'])
|
||||
if get_option('buildtype') == 'debug'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "gpu-screen-recorder"
|
||||
type = "executable"
|
||||
version = "4.3.0"
|
||||
version = "4.3.1"
|
||||
platforms = ["posix"]
|
||||
|
||||
[config]
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
@@ -332,7 +332,7 @@ void gsr_pipewire_audio_deinit(gsr_pipewire_audio *self) {
|
||||
self->num_requested_links = 0;
|
||||
|
||||
#if PW_CHECK_VERSION(0, 3, 49)
|
||||
pw_deinit();
|
||||
pw_deinit();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user