![]() |
SOUND4 IMPACT FM.CL Library [2.0.3]
|
Namespaces | |
| namespace | helper |
| namespace | dyn |
Classes | |
| class | CPresetLoader |
| Custom preset handler helper. More... | |
| class | CInstance |
| Instance handling class. More... | |
| class | CAudioConverter |
| Audio converter helper. More... | |
Typedefs | |
| using | SampleFormat = impactfm_SampleFormat |
| using | LogSeverity = impactfm_LogSeverity |
| using | log_cb_t = std::function<void(LogSeverity,const std::string&)> |
| using | PresetChange_Kind = impactfm_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 (impactfm_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 FM.CL" |
| static constexpr const char * | process_shortname = "impactfm" |
| 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 |
impactfm namespace
| using sound4::impactfm::log_cb_t = std::function<void(LogSeverity,const std::string&)> |
Log callback type
Definition at line 405 of file sound4.impactfm.cl.hpp.
Log Severity levels
Definition at line 401 of file sound4.impactfm.cl.hpp.
Definition at line 471 of file sound4.impactfm.cl.hpp.
Definition at line 63 of file sound4.impactfm.cl.hpp.
|
inlinestatic |
Definition at line 412 of file sound4.impactfm.cl.hpp.
|
inlinestatic |
Get the number of inputs for this process
Definition at line 311 of file sound4.impactfm.cl.hpp.
|
inlinestatic |
Get the number of outputs for this process
Definition at line 323 of file sound4.impactfm.cl.hpp.
|
inlinestatic |
Get the format byte size
| fmt | the format |
Definition at line 393 of file sound4.impactfm.cl.hpp.
|
inlinestatic |
Get the number of channels needed by this process
Definition at line 299 of file sound4.impactfm.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.impactfm.cl.hpp.
|
inlinestatic |
Convert string to format
| name | the format string |
Definition at line 382 of file sound4.impactfm.cl.hpp.
|
inlinestatic |
Convert format to string
| fmt | the format |
Definition at line 371 of file sound4.impactfm.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.impactfm.cl.hpp.
|
inlinestatic |
Get the processing sample-rate
Definition at line 335 of file sound4.impactfm.cl.hpp.
|
inlinestatic |
Get the process version string
Definition at line 257 of file sound4.impactfm.cl.hpp.
|
inlinestatic |
Checks for library compatibility with const/defines
Throws std::runtime_error on failure
Definition at line 345 of file sound4.impactfm.cl.hpp.
|
inlinestatic |
Sets the log callback. If not set, console output will be used.
Definition at line 426 of file sound4.impactfm.cl.hpp.
|
inlinestatic |
Sets the log severity (global)
Definition at line 419 of file sound4.impactfm.cl.hpp.
|
static |
internal helpers for C log callbacks
Definition at line 410 of file sound4.impactfm.cl.hpp.
| const size_t sound4::impactfm::ChunkFrames = 64 |
Number of frames in a chunk
Definition at line 68 of file sound4.impactfm.cl.hpp.
| const size_t sound4::impactfm::InputChannels = 2 * 1 |
Number of float values in an input frame
Definition at line 73 of file sound4.impactfm.cl.hpp.
| const size_t sound4::impactfm::InputSampleSize =ChunkFrames*InputChannels |
Number of float values for an input chunk
Definition at line 83 of file sound4.impactfm.cl.hpp.
| const size_t sound4::impactfm::OutputChannels = 2 * 1 |
Number of float values in an output frame
Definition at line 78 of file sound4.impactfm.cl.hpp.
| const size_t sound4::impactfm::OutputSampleSize =ChunkFrames*OutputChannels |
Number of float values for an output chunk
Definition at line 88 of file sound4.impactfm.cl.hpp.
|
staticconstexpr |
Definition at line 61 of file sound4.impactfm.cl.hpp.
|
staticconstexpr |
Definition at line 62 of file sound4.impactfm.cl.hpp.
| const size_t sound4::impactfm::SampleRate = 48000 |
Sample rate of library
Definition at line 93 of file sound4.impactfm.cl.hpp.