![]() |
SOUND4 IMPACT.CL Library [1.3.12]
|
Namespaces | |
| namespace | dyn |
| namespace | helper |
Classes | |
| 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 () |
| static unsigned int | GetChunkSizeInFrames () |
| static std::vector< unsigned int > | GetPossibleChunkSizeInFrames () |
| static unsigned int | GetChannelCount () |
| static unsigned int | GetAudioInputCount () |
| static unsigned int | GetAudioOutputCount () |
| static unsigned int | GetSampleRate () |
| static void | SanityCheck (bool a_bCheckFrames=true) |
| static std::string | GetFormatName (const SampleFormat fmt) |
| static SampleFormat | GetFormatFromName (const std::string &name) |
| static unsigned int | GetBytesFromFormat (const SampleFormat fmt) |
| static void | _log_cb_c (impact_LogSeverity severity, const char *c_msg) |
| static void | SetLogSeverity (LogSeverity severity) |
| static void | SetLoggerCallback (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 |
impact namespace
| using sound4::impact::log_cb_t = typedef std::function<void(LogSeverity,const std::string&)> |
Log callback type
Definition at line 405 of file sound4.impact.cl.hpp.
| using sound4::impact::LogSeverity = typedef impact_LogSeverity |
Log Severity levels
Definition at line 401 of file sound4.impact.cl.hpp.
| using sound4::impact::PresetChange_Kind = typedef impact_PresetChange_Kind |
Definition at line 471 of file sound4.impact.cl.hpp.
| using sound4::impact::SampleFormat = typedef impact_SampleFormat |
Definition at line 63 of file sound4.impact.cl.hpp.
|
inlinestatic |
Definition at line 412 of file sound4.impact.cl.hpp.
|
inlinestatic |
Get the number of inputs for this process
Definition at line 311 of file sound4.impact.cl.hpp.
|
inlinestatic |
Get the number of outputs for this process
Definition at line 323 of file sound4.impact.cl.hpp.
|
inlinestatic |
Get the format byte size
| fmt | the format |
Definition at line 393 of file sound4.impact.cl.hpp.
|
inlinestatic |
Get the number of channels needed by this process
Definition at line 299 of file sound4.impact.cl.hpp.
|
inlinestatic |
Get the default number of frames in a process chunk.
The output will be available only by chunks of this size.
Definition at line 272 of file sound4.impact.cl.hpp.
|
inlinestatic |
Convert string to format
| name | the format string |
Definition at line 382 of file sound4.impact.cl.hpp.
|
inlinestatic |
Convert format to string
| fmt | the format |
Definition at line 371 of file sound4.impact.cl.hpp.
|
inlinestatic |
Get the possibles number of frames in a process chunk.
The output will be available only by chunks of this size.
Definition at line 285 of file sound4.impact.cl.hpp.
|
inlinestatic |
Get the processing sample-rate
Definition at line 335 of file sound4.impact.cl.hpp.
|
inlinestatic |
Get the process version string
Definition at line 257 of file sound4.impact.cl.hpp.
|
inlinestatic |
Checks for library compatibility with const/defines
Throws std::runtime_error on failure
Definition at line 345 of file sound4.impact.cl.hpp.
|
inlinestatic |
Sets the log callback. If not set, console output will be used.
Definition at line 426 of file sound4.impact.cl.hpp.
|
inlinestatic |
Sets the log severity (global)
Definition at line 419 of file sound4.impact.cl.hpp.
|
static |
internal helpers for C log callbacks
Definition at line 410 of file sound4.impact.cl.hpp.
| const size_t sound4::impact::ChunkFrames = 64 |
Number of frames in a chunk
Definition at line 68 of file sound4.impact.cl.hpp.
| const size_t sound4::impact::InputChannels = 2 * 1 |
Number of float values in an input frame
Definition at line 73 of file sound4.impact.cl.hpp.
| const size_t sound4::impact::InputSampleSize =ChunkFrames*InputChannels |
Number of float values for an input chunk
Definition at line 83 of file sound4.impact.cl.hpp.
| const size_t sound4::impact::OutputChannels = 2 * 1 |
Number of float values in an output frame
Definition at line 78 of file sound4.impact.cl.hpp.
| const size_t sound4::impact::OutputSampleSize =ChunkFrames*OutputChannels |
Number of float values for an output chunk
Definition at line 88 of file sound4.impact.cl.hpp.
|
staticconstexpr |
Definition at line 61 of file sound4.impact.cl.hpp.
|
staticconstexpr |
Definition at line 62 of file sound4.impact.cl.hpp.
| const size_t sound4::impact::SampleRate = 48000 |
Sample rate of library
Definition at line 93 of file sound4.impact.cl.hpp.