![]() |
SOUND4 IMPACT.CL Library [1.3.6]
|
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) |
static void | AudioConvertFrom (CDynLib &dynlib, const uint8_t *payload, float *output, size_t nSpl, impact_SampleFormat fmt) |
static void | AudioConvertTo (CDynLib &dynlib, const float *input, uint8_t *payload, size_t nSpl, impact_SampleFormat fmt) |
static void | StereoToMono (CDynLib &dynlib, const float *input, float *output, size_t nFrame) |
static void | MonoToStereo (CDynLib &dynlib, const float *input, float *output, size_t nFrame) |
static void | StereoToMono_Planar (CDynLib &dynlib, const float *inputL, const float *inputR, float *output, size_t nFrame) |
static void | MonoToStereo_Planar (CDynLib &dynlib, const float *input, float *outputL, float *outputR, size_t nFrame) |
static void | AudioMonoFromLiveStereo (CDynLib &dynlib, const uint8_t *payload, float *output) |
static void | AudioMonoToLiveStereo (CDynLib &dynlib, const float *input, uint8_t *payload) |
helper functions for unicode strings in Windows
|
inlinestatic |
Convert the payload to floating-point array
dynlib | the dynamic library |
payload | the binary raw audio buffer |
output | audio output buffer (64 byte aligned) |
nSpl | the number of samples (not frames) |
fmt | the format of the payload |
Definition at line 572 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert floating-point array to payload
dynlib | the dynamic library |
input | audio input buffer (64 byte aligned) |
payload | the binary raw audio buffer |
nSpl | the number of samples (not frames) |
fmt | the format of the payload |
Definition at line 587 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert Livewire Livestereo payload to floating-point Mono (12 samples)
dynlib | the dynamic library |
payload | Livewire Live Stereo raw buffer |
output | audio output mono buffer (64 byte aligned) |
Definition at line 656 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert floating-point Mono (12 samples) to Livewire Livestereo payload
dynlib | the dynamic library |
input | audio input mono buffer (64 byte aligned) |
payload | Livewire Live Stereo raw buffer |
Definition at line 667 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert floating-point Mono to Stereo (L,L)
dynlib | the dynamic library |
input | audio input mono buffer (64 byte aligned) |
output | audio output stereo buffer (64 byte aligned) |
nFrame | the number of frames |
Definition at line 615 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert floating-point Mono to Stereo (planar) (L,L)
dynlib | the dynamic library |
input | audio input mono buffer (64 byte aligned) |
outputL | audio output left buffer (64 byte aligned) |
outputR | audio output right buffer (64 byte aligned) |
nFrame | the number of frames |
Definition at line 645 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert floating-point Stereo to Mono (L+R)/2
dynlib | the dynamic library |
input | audio input stereo buffer (64 byte aligned) |
output | audio output mono buffer (64 byte aligned) |
nFrame | the number of frames |
Definition at line 601 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert floating-point Stereo (planar) to Mono (L+R)/2
dynlib | the dynamic library |
inputL | audio input left buffer (64 byte aligned) |
inputR | audio input right buffer (64 byte aligned) |
output | audio output mono buffer (64 byte aligned) |
nFrame | the number of frames |
Definition at line 630 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Helper to convert a std::string (UTF8) to a std::wstring for Windows
Definition at line 530 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Helper to convert a std::wstring to a std::string (UTF8) for Windows
Definition at line 518 of file sound4.impact.cl_dyn.hpp.