![]() |
SOUND4 IMPACT.CL Library [1.3.6]
|
Get information on the library. More...
Classes | |
struct | SOUND4_ProcessInfo |
Macros | |
#define | IMPACT_AUDIOFRAME_COUNT 64 |
#define | IMPACT_CHANNEL_COUNT 2 |
#define | IMPACT_AUDIO_INPUT_COUNT 1 |
#define | IMPACT_AUDIO_OUTPUT_COUNT 1 |
#define | IMPACT_SAMPLE_RATE 48000 |
Typedefs | |
typedef void(* | impact_loggerfn) (enum impact_LogSeverity, const char *) |
Enumerations | |
enum | impact_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 * | impact_GetVersion () |
unsigned int | impact_GetChunkSizeInFrames () |
unsigned int * | impact_GetPossibleChunkSizeInFrames () |
unsigned int | impact_GetChannelCount () |
unsigned int | impact_GetAudioInputCount () |
unsigned int | impact_GetAudioOutputCount () |
unsigned int | impact_GetSampleRate () |
void | impact_SetLoggerCallback (impact_loggerfn logger) |
void | impact_SetLogSeverity (enum impact_LogSeverity severity) |
Get information on the library. Set logging mode.
#define IMPACT_AUDIO_INPUT_COUNT 1 |
This version number of inputs for this process.
Definition at line 54 of file sound4.impact.cl.h.
#define IMPACT_AUDIO_OUTPUT_COUNT 1 |
This version number of outputs for this process.
Definition at line 60 of file sound4.impact.cl.h.
#define IMPACT_AUDIOFRAME_COUNT 64 |
This version number of frames in a process chunk.
Definition at line 42 of file sound4.impact.cl.h.
#define IMPACT_CHANNEL_COUNT 2 |
This version number of channels.
Definition at line 48 of file sound4.impact.cl.h.
#define IMPACT_SAMPLE_RATE 48000 |
This input/output sample-rate.
Definition at line 66 of file sound4.impact.cl.h.
typedef void(* impact_loggerfn) (enum impact_LogSeverity, const char *) |
The logging callback format
char*
are UTF-8 encoded Definition at line 181 of file sound4.impact.cl.h.
enum impact_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.impact.cl.h.
unsigned int impact_GetAudioInputCount | ( | ) |
Get the number of inputs for this process
unsigned int impact_GetAudioOutputCount | ( | ) |
Get the number of outputs for this process
unsigned int impact_GetChannelCount | ( | ) |
Get the number of channels needed by this process
unsigned int impact_GetChunkSizeInFrames | ( | ) |
Get the default number of frames in a process chunk.
The output will be available only by chunks of this size.
unsigned int * impact_GetPossibleChunkSizeInFrames | ( | ) |
Get the possibles number of frames in a process chunk.
The output will be available only by chunks of this size.
unsigned int impact_GetSampleRate | ( | ) |
Get the processing sample-rate
const char * impact_GetVersion | ( | ) |
Get the process version string
void impact_SetLoggerCallback | ( | impact_loggerfn | logger | ) |
Set a callback for logging
If not set, a default logger prints to stderr.
logger | A C callback called for logging. |
void impact_SetLogSeverity | ( | enum impact_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.