Add codec and 10-bit config in headset

This commit is contained in:
Sapphire
2025-12-11 13:42:16 +01:00
committed by Patrick Nicolas
parent 9b4a26b5a8
commit 6f32f049d7
14 changed files with 117 additions and 11 deletions
+2 -1
View File
@@ -24,7 +24,8 @@
#define _(x) boost::locale::gettext(x)
#define _F(x) fmt::runtime(boost::locale::gettext(x))
#define _S(x) boost::locale::gettext(x).c_str()
#define _cS(c, x) boost::locale::pgettext(c, x).c_str()
#define _C(c, x) boost::locale::pgettext(c, x)
#define _cS(c, x) _C(c, x).c_str()
#define gettext_noop(x) x
#define gettext_noop_context(c, x) x
+1 -1
View File
@@ -19,7 +19,7 @@
#include "json_string.h"
std::string json_string(const std::string & in)
std::string json_string(const std::string_view & in)
{
std::string out;
out.reserve(in.size() + 2);
+1 -1
View File
@@ -21,4 +21,4 @@
#include <string>
std::string json_string(const std::string & in);
std::string json_string(const std::string_view & in);