aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-02 00:45:27 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-02 00:45:27 +0200
commit495bd6bed85c85650620dc2ae91f7f058ae2da5c (patch)
tree6029ae984bc3b76ab6d01cf7942abc650de25db2 /include
parentbe0ad41e745c3e6177d1159e25f7d23e45b02738 (diff)
Add audio devices
Diffstat (limited to 'include')
-rw-r--r--include/GsrInfo.hpp7
-rw-r--r--include/Theme.hpp1
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