Add audio devices

This commit is contained in:
dec05eba
2024-08-02 00:45:27 +02:00
parent be0ad41e74
commit 495bd6bed8
5 changed files with 79 additions and 8 deletions

View File

@@ -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();
}

View File

@@ -15,5 +15,6 @@ namespace gsr {
};
void init_theme(const gsr::GsrInfo &gsr_info);
void deinit_theme();
const Theme& get_theme();
}