![]() |
SOUND4 x1.CLOUD Library [1.5.7]
|
Namespaces | |
namespace | dyn |
namespace | helper |
Classes | |
class | CInstance |
Instance handling class. More... | |
class | CPresetLoader |
Custom preset handler helper. More... | |
Typedefs | |
using | SampleFormat = cloudx1_SampleFormat |
using | LogSeverity = cloudx1_LogSeverity |
using | log_cb_t = std::function< void(LogSeverity, const std::string &)> |
using | PresetChange_Kind = cloudx1_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 (cloudx1_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 x1.CLOUD" |
static constexpr const char * | process_shortname = "x1" |
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 |
cloudx1 namespace
using sound4::cloudx1::log_cb_t = typedef std::function<void(LogSeverity,const std::string&)> |
Log callback type
Definition at line 398 of file sound4.x1.cloud.hpp.
using sound4::cloudx1::LogSeverity = typedef cloudx1_LogSeverity |
Log Severity levels
Definition at line 394 of file sound4.x1.cloud.hpp.
using sound4::cloudx1::PresetChange_Kind = typedef cloudx1_PresetChange_Kind |
Definition at line 464 of file sound4.x1.cloud.hpp.
using sound4::cloudx1::SampleFormat = typedef cloudx1_SampleFormat |
Definition at line 56 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Definition at line 405 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Get the number of inputs for this process
Definition at line 304 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Get the number of outputs for this process
Definition at line 316 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Get the format byte size
fmt | the format |
Definition at line 386 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Get the number of channels needed by this process
Definition at line 292 of file sound4.x1.cloud.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 265 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Convert string to format
name | the format string |
Definition at line 375 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Convert format to string
fmt | the format |
Definition at line 364 of file sound4.x1.cloud.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 278 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Get the processing sample-rate
Definition at line 328 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Get the process version string
Definition at line 250 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Checks for library compatibility with const/defines
Throws std::runtime_error on failure
Definition at line 338 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Sets the log callback. If not set, console output will be used.
Definition at line 419 of file sound4.x1.cloud.hpp.
|
inlinestatic |
Sets the log severity (global)
Definition at line 412 of file sound4.x1.cloud.hpp.
|
static |
internal helpers for C log callbacks
Definition at line 403 of file sound4.x1.cloud.hpp.
const size_t sound4::cloudx1::ChunkFrames = 64 |
Number of frames in a chunk
Definition at line 61 of file sound4.x1.cloud.hpp.
const size_t sound4::cloudx1::InputChannels = 2 * 1 |
Number of float values in an input frame
Definition at line 66 of file sound4.x1.cloud.hpp.
const size_t sound4::cloudx1::InputSampleSize =ChunkFrames*InputChannels |
Number of float values for an input chunk
Definition at line 76 of file sound4.x1.cloud.hpp.
const size_t sound4::cloudx1::OutputChannels = 2 * 1 |
Number of float values in an output frame
Definition at line 71 of file sound4.x1.cloud.hpp.
const size_t sound4::cloudx1::OutputSampleSize =ChunkFrames*OutputChannels |
Number of float values for an output chunk
Definition at line 81 of file sound4.x1.cloud.hpp.
|
staticconstexpr |
Definition at line 54 of file sound4.x1.cloud.hpp.
|
staticconstexpr |
Definition at line 55 of file sound4.x1.cloud.hpp.
const size_t sound4::cloudx1::SampleRate = 48000 |
Sample rate of library
Definition at line 86 of file sound4.x1.cloud.hpp.