![]() |
SOUND4 IMPACT.CL Library [1.2.5]
|
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 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 166 of file sound4.impact.cl.h.
| #define IMPACT_AUDIO_OUTPUT_COUNT 1 |
This version number of outputs for this process.
Definition at line 172 of file sound4.impact.cl.h.
| #define IMPACT_AUDIOFRAME_COUNT 64 |
This version number of frames in a process chunk.
Definition at line 154 of file sound4.impact.cl.h.
| #define IMPACT_CHANNEL_COUNT 2 |
This version number of channels.
Definition at line 160 of file sound4.impact.cl.h.
| #define IMPACT_SAMPLE_RATE 48000 |
This input/output sample-rate.
Definition at line 178 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 271 of file sound4.impact.cl.h.
| enum impact_LogSeverity |
The logging levels
| Enumerator | |
|---|---|
| none | |
| fatal | |
| error | |
| warning | |
| info | |
| verbose | |
| verbose2 | |
| verbose3 | |
| verbose4 | |
| verbose5 | |
Definition at line 252 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 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 |