![]() |
SOUND4 IMPACT.CL Library [1.3.12]
|
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 863 of file sound4.impact.cl_dyn.hpp.
| using sound4::impact::dyn::LogSeverity = typedef impact_LogSeverity |
Log Severity levels
Definition at line 859 of file sound4.impact.cl_dyn.hpp.
| using sound4::impact::dyn::PresetChange_Kind = typedef impact_PresetChange_Kind |
Definition at line 937 of file sound4.impact.cl_dyn.hpp.
| using sound4::impact::dyn::SampleFormat = typedef impact_SampleFormat |
Definition at line 497 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Definition at line 870 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the number of inputs for this process
| dynlib | the dynamic library |
Definition at line 762 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the number of outputs for this process
| dynlib | the dynamic library |
Definition at line 775 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the format byte size
| dynlib | the dynamic library |
| fmt | the format |
Definition at line 851 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the number of channels needed by this process
| dynlib | the dynamic library |
Definition at line 749 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 716 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert string to format
| dynlib | the dynamic library |
| name | the format string |
Definition at line 839 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Convert format to string
| dynlib | the dynamic library |
| fmt | the format |
Definition at line 827 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 730 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the processing sample-rate
| dynlib | the dynamic library |
Definition at line 788 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Get the process version string
| dynlib | the dynamic library |
Definition at line 700 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 800 of file sound4.impact.cl_dyn.hpp.
Sets the log callback. If not set, console output will be used.
Definition at line 884 of file sound4.impact.cl_dyn.hpp.
|
inlinestatic |
Sets the log severity (global)
Definition at line 877 of file sound4.impact.cl_dyn.hpp.
|
static |
internal helpers for C log callbacks
Definition at line 868 of file sound4.impact.cl_dyn.hpp.
| const size_t sound4::impact::dyn::ChunkFrames = 64 |
Number of frames in a chunk
Definition at line 502 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 507 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 517 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 512 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 522 of file sound4.impact.cl_dyn.hpp.
|
staticconstexpr |
Definition at line 495 of file sound4.impact.cl_dyn.hpp.
|
staticconstexpr |
Definition at line 496 of file sound4.impact.cl_dyn.hpp.
| const size_t sound4::impact::dyn::SampleRate = 48000 |
Sample rate of library
Definition at line 527 of file sound4.impact.cl_dyn.hpp.