![]() |
SOUND4 IMPACT.CL Library [1.3.12]
|
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 593 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 608 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 677 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 688 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 636 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 666 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 622 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 651 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Helper to convert a std::string (UTF8) to a std::wstring for Windows
Definition at line 551 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Helper to convert a std::wstring to a std::string (UTF8) for Windows
Definition at line 539 of file sound4.impact.cl_dyn.hpp.