![]() |
SOUND4 IMPACT.CL Library [1.3.6]
|
Namespaces | |
namespace | helper |
Classes | |
class | CDynLib |
Dynamic library interface. More... | |
class | CInstance |
Instance handling class. More... | |
class | CPresetLoader |
Custom preset handler helper. More... | |
Typedefs | |
using | SampleFormat = impact_SampleFormat |
using | LogSeverity = impact_LogSeverity |
using | log_cb_t = std::function< void(LogSeverity, const std::string &)> |
using | PresetChange_Kind = impact_PresetChange_Kind |
Functions | |
static std::string | GetVersion (CDynLib &dynlib) |
static unsigned int | GetChunkSizeInFrames (CDynLib &dynlib) |
static std::vector< unsigned int > | GetPossibleChunkSizeInFrames (CDynLib &dynlib) |
static unsigned int | GetChannelCount (CDynLib &dynlib) |
static unsigned int | GetAudioInputCount (CDynLib &dynlib) |
static unsigned int | GetAudioOutputCount (CDynLib &dynlib) |
static unsigned int | GetSampleRate (CDynLib &dynlib) |
static void | SanityCheck (CDynLib &dynlib, bool a_bCheckFrames=true) |
static std::string | GetFormatName (CDynLib &dynlib, const SampleFormat fmt) |
static SampleFormat | GetFormatFromName (CDynLib &dynlib, const std::string &name) |
static unsigned int | GetBytesFromFormat (CDynLib &dynlib, const SampleFormat fmt) |
static void | _log_cb_c (impact_LogSeverity severity, const char *c_msg) |
static void | SetLogSeverity (CDynLib &dynlib, LogSeverity severity) |
static void | SetLoggerCallback (CDynLib &dynlib, log_cb_t cb) |
Variables | |
static constexpr const char * | process_name = "SOUND4 IMPACT.CL" |
static constexpr const char * | process_shortname = "impact" |
const size_t | ChunkFrames = 64 |
const size_t | InputChannels = 2 * 1 |
const size_t | OutputChannels = 2 * 1 |
const size_t | InputSampleSize =ChunkFrames*InputChannels |
const size_t | OutputSampleSize =ChunkFrames*OutputChannels |
const size_t | SampleRate = 48000 |
static log_cb_t | _log_cb |
Dynamic loading namespace
using sound4::impact::dyn::log_cb_t = typedef std::function<void(LogSeverity,const std::string&)> |
Log callback type
Definition at line 842 of file sound4.impact.cl_dyn.hpp.
using sound4::impact::dyn::LogSeverity = typedef impact_LogSeverity |
Log Severity levels
Definition at line 838 of file sound4.impact.cl_dyn.hpp.
using sound4::impact::dyn::PresetChange_Kind = typedef impact_PresetChange_Kind |
Definition at line 916 of file sound4.impact.cl_dyn.hpp.
using sound4::impact::dyn::SampleFormat = typedef impact_SampleFormat |
Definition at line 476 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Definition at line 849 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the number of inputs for this process
dynlib | the dynamic library |
Definition at line 741 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the number of outputs for this process
dynlib | the dynamic library |
Definition at line 754 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the format byte size
dynlib | the dynamic library |
fmt | the format |
Definition at line 830 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the number of channels needed by this process
dynlib | the dynamic library |
Definition at line 728 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the default number of frames in a process chunk.
The output will be available only by chunks of this size.
dynlib | the dynamic library |
Definition at line 695 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert string to format
dynlib | the dynamic library |
name | the format string |
Definition at line 818 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert format to string
dynlib | the dynamic library |
fmt | the format |
Definition at line 806 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the possibles number of frames in a process chunk.
The output will be available only by chunks of this size.
dynlib | the dynamic library |
Definition at line 709 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the processing sample-rate
dynlib | the dynamic library |
Definition at line 767 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the process version string
dynlib | the dynamic library |
Definition at line 679 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Checks for library compatibility with const/defines
std::runtime_error | on failure |
dynlib | the dynamic library |
a_bCheckFrames | if false, do not check chunk size |
Definition at line 779 of file sound4.impact.cl_dyn.hpp.
Sets the log callback. If not set, console output will be used.
Definition at line 863 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Sets the log severity (global)
Definition at line 856 of file sound4.impact.cl_dyn.hpp.
|
static |
internal helpers for C log callbacks
Definition at line 847 of file sound4.impact.cl_dyn.hpp.
const size_t sound4::impact::dyn::ChunkFrames = 64 |
Number of frames in a chunk
Definition at line 481 of file sound4.impact.cl_dyn.hpp.
const size_t sound4::impact::dyn::InputChannels = 2 * 1 |
Number of float values in an input frame
Definition at line 486 of file sound4.impact.cl_dyn.hpp.
const size_t sound4::impact::dyn::InputSampleSize =ChunkFrames*InputChannels |
Number of float values for an input chunk
Definition at line 496 of file sound4.impact.cl_dyn.hpp.
const size_t sound4::impact::dyn::OutputChannels = 2 * 1 |
Number of float values in an output frame
Definition at line 491 of file sound4.impact.cl_dyn.hpp.
const size_t sound4::impact::dyn::OutputSampleSize =ChunkFrames*OutputChannels |
Number of float values for an output chunk
Definition at line 501 of file sound4.impact.cl_dyn.hpp.
|
staticconstexpr |
Definition at line 474 of file sound4.impact.cl_dyn.hpp.
|
staticconstexpr |
Definition at line 475 of file sound4.impact.cl_dyn.hpp.
const size_t sound4::impact::dyn::SampleRate = 48000 |
Sample rate of library
Definition at line 506 of file sound4.impact.cl_dyn.hpp.