SOUND4 IMPACT.CL Library [1.3.6]
Loading...
Searching...
No Matches
Classes | Functions
sound4::helper Namespace Reference

Classes

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

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()

static 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 95 of file sound4cl.hpp.

◆ WStringToUTF8()

static 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 83 of file sound4cl.hpp.