Migrate audio pipeline to float from 16-bit integer (#2873)

Co-authored-by: Cameron Gutman <aicommander@gmail.com>
This commit is contained in:
ns6089 2024-07-26 04:01:43 +03:00 committed by GitHub
commit f4dda21248
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 435 additions and 298 deletions

View file

@ -169,4 +169,25 @@ namespace logging {
<< " -p | Enable/Disable UPnP"sv << std::endl
<< std::endl;
}
std::string
bracket(const std::string &input) {
return bracket(std::string_view(input));
}
std::string
bracket(const std::string_view &input) {
return "["s + std::string(input) + "]"s;
}
std::wstring
bracket(const std::wstring &input) {
return bracket(std::wstring_view(input));
}
std::wstring
bracket(const std::wstring_view &input) {
return L"["s + std::wstring(input) + L"]"s;
}
} // namespace logging