![]() |
SOUND4 IMPACT.CL Library [1.3.12]
|
Classes | |
| 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 (const uint8_t *payload, float *output, size_t nSpl, impact_SampleFormat fmt) |
| static void | AudioConvertTo (const float *input, uint8_t *payload, size_t nSpl, impact_SampleFormat fmt) |
| static void | StereoToMono (const float *input, float *output, size_t nFrame) |
| static void | MonoToStereo (const float *input, float *output, size_t nFrame) |
| static void | StereoToMono_Planar (const float *inputL, const float *inputR, float *output, size_t nFrame) |
| static void | MonoToStereo_Planar (const float *input, float *outputL, float *outputR, size_t nFrame) |
| static void | AudioMonoFromLiveStereo (const uint8_t *payload, float *output) |
| static void | AudioMonoToLiveStereo (const float *input, uint8_t *payload) |
helper functions for unicode strings in Windows
|
inlinestatic |
Convert the payload to floating-point array
| 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 158 of file sound4.impact.cl.hpp.
|
inlinestatic |
Convert floating-point array to payload
| 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 172 of file sound4.impact.cl.hpp.
|
inlinestatic |
Convert Livewire Livestereo payload to floating-point Mono (12 samples)
| payload | Livewire Live Stereo raw buffer |
| output | audio output mono buffer (64 byte aligned) |
Definition at line 236 of file sound4.impact.cl.hpp.
|
inlinestatic |
Convert floating-point Mono (12 samples) to Livewire Livestereo payload
| input | audio input mono buffer (64 byte aligned) |
| payload | Livewire Live Stereo raw buffer |
Definition at line 246 of file sound4.impact.cl.hpp.
|
inlinestatic |
Convert floating-point Mono to Stereo (L,L)
| input | audio input mono buffer (64 byte aligned) |
| output | audio output stereo buffer (64 byte aligned) |
| nFrame | the number of frames |
Definition at line 198 of file sound4.impact.cl.hpp.
|
inlinestatic |
Convert floating-point Mono to Stereo (planar) (L,L)
| 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 226 of file sound4.impact.cl.hpp.
|
inlinestatic |
Convert floating-point Stereo to Mono (L+R)/2
| input | audio input stereo buffer (64 byte aligned) |
| output | audio output mono buffer (64 byte aligned) |
| nFrame | the number of frames |
Definition at line 185 of file sound4.impact.cl.hpp.
|
inlinestatic |
Convert floating-point Stereo (planar) to Mono (L+R)/2
| 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 212 of file sound4.impact.cl.hpp.
|
inlinestatic |
Helper to convert a std::string (UTF8) to a std::wstring for Windows
Definition at line 117 of file sound4.impact.cl.hpp.
|
inlinestatic |
Helper to convert a std::wstring to a std::string (UTF8) for Windows
Definition at line 105 of file sound4.impact.cl.hpp.