SOUND4 IMPACT FM.CL Library [2.0.3]
Loading...
Searching...
No Matches
sound4::helper Namespace Reference

Classes

struct  SampleFormat
 Helper for Sample format types. More...
struct  SampleFormat< int16_t >
struct  SampleFormat< int32_t >
struct  SampleFormat< float >
class  DynFuncHolder
 Helper to wrap a function pointer. More...
class  CDynLoader
 Helper to load dynamic library. More...

Functions

static std::string WStringToUTF8 (const std::wstring &wstr)
static std::wstring UTF8ToWString (const std::string &str)

Detailed Description

helper functions for unicode strings in Windows

Function Documentation

◆ UTF8ToWString()

std::wstring sound4::helper::UTF8ToWString ( const std::string & str)
inlinestatic

Helper to convert a std::string (UTF8) to a std::wstring for Windows

Attention
For Windows only

Definition at line 98 of file sound4cl.hpp.

◆ WStringToUTF8()

std::string sound4::helper::WStringToUTF8 ( const std::wstring & wstr)
inlinestatic

Helper to convert a std::wstring to a std::string (UTF8) for Windows

Attention
For Windows only

Definition at line 86 of file sound4cl.hpp.