![]() |
SOUND4 x1.CLOUD Library [1.5.6]
|
Get information on the library. More...
Classes | |
struct | SOUND4_ProcessInfo |
Macros | |
#define | CLOUDX1_AUDIOFRAME_COUNT 64 |
#define | CLOUDX1_CHANNEL_COUNT 2 |
#define | CLOUDX1_AUDIO_INPUT_COUNT 1 |
#define | CLOUDX1_AUDIO_OUTPUT_COUNT 1 |
#define | CLOUDX1_SAMPLE_RATE 48000 |
Typedefs | |
typedef void(* | cloudx1_loggerfn) (enum cloudx1_LogSeverity, const char *) |
Enumerations | |
enum | cloudx1_LogSeverity { none = 0 , fatal = 1 , error = 2 , warning = 3 , info = 4 , verbose = 5 , verbose2 = 6 , verbose3 = 7 , verbose4 = 8 , verbose5 = 9 } |
Functions | |
const struct SOUND4_ProcessInfo * | SOUND4_GetProcessInfo () |
const char * | cloudx1_GetVersion () |
unsigned int | cloudx1_GetChunkSizeInFrames () |
unsigned int * | cloudx1_GetPossibleChunkSizeInFrames () |
unsigned int | cloudx1_GetChannelCount () |
unsigned int | cloudx1_GetAudioInputCount () |
unsigned int | cloudx1_GetAudioOutputCount () |
unsigned int | cloudx1_GetSampleRate () |
void | cloudx1_SetLoggerCallback (cloudx1_loggerfn logger) |
void | cloudx1_SetLogSeverity (enum cloudx1_LogSeverity severity) |
Get information on the library. Set logging mode.
#define CLOUDX1_AUDIO_INPUT_COUNT 1 |
This version number of inputs for this process.
Definition at line 54 of file sound4.x1.cloud.h.
#define CLOUDX1_AUDIO_OUTPUT_COUNT 1 |
This version number of outputs for this process.
Definition at line 60 of file sound4.x1.cloud.h.
#define CLOUDX1_AUDIOFRAME_COUNT 64 |
This version number of frames in a process chunk.
Definition at line 42 of file sound4.x1.cloud.h.
#define CLOUDX1_CHANNEL_COUNT 2 |
This version number of channels.
Definition at line 48 of file sound4.x1.cloud.h.
#define CLOUDX1_SAMPLE_RATE 48000 |
This input/output sample-rate.
Definition at line 66 of file sound4.x1.cloud.h.
typedef void(* cloudx1_loggerfn) (enum cloudx1_LogSeverity, const char *) |
The logging callback format
char*
are UTF-8 encoded Definition at line 181 of file sound4.x1.cloud.h.
enum cloudx1_LogSeverity |
The logging levels
Enumerator | |
---|---|
none | Not used. |
fatal | fatal error |
error | error |
warning | warning |
info | info |
verbose | verbose |
verbose2 | verbose2 |
verbose3 | verbose3 |
verbose4 | verbose4 |
verbose5 | verbose5 |
Definition at line 162 of file sound4.x1.cloud.h.
unsigned int cloudx1_GetAudioInputCount | ( | ) |
Get the number of inputs for this process
unsigned int cloudx1_GetAudioOutputCount | ( | ) |
Get the number of outputs for this process
unsigned int cloudx1_GetChannelCount | ( | ) |
Get the number of channels needed by this process
unsigned int cloudx1_GetChunkSizeInFrames | ( | ) |
Get the default number of frames in a process chunk.
The output will be available only by chunks of this size.
unsigned int * cloudx1_GetPossibleChunkSizeInFrames | ( | ) |
Get the possibles number of frames in a process chunk.
The output will be available only by chunks of this size.
unsigned int cloudx1_GetSampleRate | ( | ) |
Get the processing sample-rate
const char * cloudx1_GetVersion | ( | ) |
Get the process version string
void cloudx1_SetLoggerCallback | ( | cloudx1_loggerfn | logger | ) |
Set a callback for logging
If not set, a default logger prints to stderr.
logger | A C callback called for logging. |
void cloudx1_SetLogSeverity | ( | enum cloudx1_LogSeverity | severity | ) |
Change the global log severity
Logs above this level will not be printed.
severity | Log severity |
const struct SOUND4_ProcessInfo * SOUND4_GetProcessInfo | ( | ) |
Get this processor description
Common to all SOUND4 processors.