diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-02 00:45:27 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-02 00:45:27 +0200 |
commit | 495bd6bed85c85650620dc2ae91f7f058ae2da5c (patch) | |
tree | 6029ae984bc3b76ab6d01cf7942abc650de25db2 /include | |
parent | be0ad41e745c3e6177d1159e25f7d23e45b02738 (diff) |
Add audio devices
Diffstat (limited to 'include')
-rw-r--r-- | include/GsrInfo.hpp | 7 | ||||
-rw-r--r-- | include/Theme.hpp | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/GsrInfo.hpp b/include/GsrInfo.hpp index e029919..b563000 100644 --- a/include/GsrInfo.hpp +++ b/include/GsrInfo.hpp @@ -62,5 +62,12 @@ namespace gsr { NO_DRM_CARD }; + struct AudioDevice { + std::string name; + std::string description; + }; + GsrInfoExitStatus get_gpu_screen_recorder_info(GsrInfo *gsr_info); + + std::vector<AudioDevice> get_audio_devices(); }
\ No newline at end of file diff --git a/include/Theme.hpp b/include/Theme.hpp index 69589e6..1221b7f 100644 --- a/include/Theme.hpp +++ b/include/Theme.hpp @@ -15,5 +15,6 @@ namespace gsr { }; void init_theme(const gsr::GsrInfo &gsr_info); + void deinit_theme(); const Theme& get_theme(); }
\ No newline at end of file |