mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-05 06:20:44 +09:00
Redesign audio to support multiple audio tracks explicitly
This commit is contained in:
@@ -22,6 +22,11 @@ namespace gsr {
|
||||
}
|
||||
}
|
||||
|
||||
bool starts_with(std::string_view str, const char *substr) {
|
||||
size_t len = strlen(substr);
|
||||
return str.size() >= len && memcmp(str.data(), substr, len) == 0;
|
||||
}
|
||||
|
||||
std::string get_home_dir() {
|
||||
const char *home_dir = getenv("HOME");
|
||||
if(!home_dir) {
|
||||
|
||||
Reference in New Issue
Block a user