Add codec and 10-bit config in headset
This commit is contained in:
committed by
Patrick Nicolas
parent
9b4a26b5a8
commit
6f32f049d7
+2
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
std::string json_string(const std::string & in);
|
||||
std::string json_string(const std::string_view & in);
|
||||
|
||||
Reference in New Issue
Block a user