![]() |
SOUND4 Plugin Host Library [1.0.2]
|
Macros | |
| #define | PLUGHOST_AUDIOFRAME_COUNT 64 |
| #define | PLUGHOST_CHANNEL_COUNT 2 |
| #define | PLUGHOST_AUDIO_INPUT_COUNT 1 |
| #define | PLUGHOST_AUDIO_OUTPUT_COUNT 1 |
| #define | PLUGHOST_SAMPLE_RATE 48000 |
Typedefs | |
| typedef void(* | plughost_loggerfn) (enum plughost_LogSeverity, const char *) |
Enumerations | |
| enum | plughost_LogSeverity { none = 0 , fatal = 1 , error = 2 , warning = 3 , info = 4 , verbose = 5 , verbose2 = 6 , verbose3 = 7 , verbose4 = 8 , verbose5 = 9 } |
Functions | |
| const char * | plughost_GetVersion () |
| unsigned int | plughost_GetChunkSizeInFrames () |
| unsigned int * | plughost_GetPossibleChunkSizeInFrames () |
| unsigned int | plughost_GetChannelCount () |
| unsigned int | plughost_GetAudioInputCount () |
| unsigned int | plughost_GetAudioOutputCount () |
| unsigned int | plughost_GetSampleRate () |
| void | plughost_SetLoggerCallback (plughost_loggerfn logger) |
| void | plughost_SetLogSeverity (enum plughost_LogSeverity severity) |
Get information on the library. Set logging mode
| #define PLUGHOST_AUDIO_INPUT_COUNT 1 |
This version number of inputs for this process.
Definition at line 166 of file sound4.plughost.cl.h.
| #define PLUGHOST_AUDIO_OUTPUT_COUNT 1 |
This version number of outputs for this process.
Definition at line 172 of file sound4.plughost.cl.h.
| #define PLUGHOST_AUDIOFRAME_COUNT 64 |
This version number of frames in a process chunk.
Definition at line 154 of file sound4.plughost.cl.h.
| #define PLUGHOST_CHANNEL_COUNT 2 |
This version number of channels.
Definition at line 160 of file sound4.plughost.cl.h.
| #define PLUGHOST_SAMPLE_RATE 48000 |
This input/output sample-rate.
Definition at line 178 of file sound4.plughost.cl.h.
| typedef void(* plughost_loggerfn) (enum plughost_LogSeverity, const char *) |
The logging callback format
char* are UTF-8 encoded Definition at line 271 of file sound4.plughost.cl.h.
| enum plughost_LogSeverity |
The logging levels
| Enumerator | |
|---|---|
| none | |
| fatal | |
| error | |
| warning | |
| info | |
| verbose | |
| verbose2 | |
| verbose3 | |
| verbose4 | |
| verbose5 | |
Definition at line 252 of file sound4.plughost.cl.h.
| unsigned int plughost_GetAudioInputCount | ( | ) |
Get the number of inputs for this process
| unsigned int plughost_GetAudioOutputCount | ( | ) |
Get the number of outputs for this process
| unsigned int plughost_GetChannelCount | ( | ) |
Get the number of channels needed by this process
| unsigned int plughost_GetChunkSizeInFrames | ( | ) |
Get the number of frames in a process chunk.
The output will be available only by chunks of this size.
| unsigned int* plughost_GetPossibleChunkSizeInFrames | ( | ) |
Get the possibles number of frames in a process chunk.
The output will be available only by chunks of this size.
| unsigned int plughost_GetSampleRate | ( | ) |
Get the processing sample-rate
| const char* plughost_GetVersion | ( | ) |
Get the process version string
| void plughost_SetLoggerCallback | ( | plughost_loggerfn | logger | ) |
Set a callback for logging
If not set, a default logger prints to stderr.
| logger | A C callback called for logging. |
| void plughost_SetLogSeverity | ( | enum plughost_LogSeverity | severity | ) |
Change the global log severity
Logs above this level will not be printed.
| severity | Log severity |