![]() |
SOUND4 IMPACT.CL Library [1.3.12]
|
C++ sample using only C interface. More...
#include <unistd.h>#include <iostream>#include <strings.h>#include <sys/types.h>#include <thread>#include <filesystem>#include <io.h>#include <fcntl.h>#include <stringapiset.h>#include <sound4.impact.cl.h>Go to the source code of this file.
Macros | |
| #define | SAMPLE_RATE 48000 |
| #define | CHUNK_SIZE 64 |
| #define | CHANNEL_COUNT 2 |
Functions | |
| void | ProcessLoop (struct impact_CInstance *pInstance) |
| void | Usage (const char *progname) |
| void | MyLogger (impact_LogSeverity severe, const char *str) |
| int | main (int argc, char *const argv[]) |
| #define CHANNEL_COUNT 2 |
Definition at line 22 of file sound4.impact.cl-pipe.cpp.
| #define CHUNK_SIZE 64 |
Definition at line 21 of file sound4.impact.cl-pipe.cpp.
| #define SAMPLE_RATE 48000 |
Definition at line 20 of file sound4.impact.cl-pipe.cpp.
| int main | ( | int | argc, |
| char *const | argv[] | ||
| ) |
[Setup and sanity checks]
[Setup and sanity checks]
[Create the processing instance]
[Create the processing instance]
[Stopping the processing instance]
[Stopping the processing instance]
Definition at line 84 of file sound4.impact.cl-pipe.cpp.
| void MyLogger | ( | impact_LogSeverity | severe, |
| const char * | str | ||
| ) |
Definition at line 78 of file sound4.impact.cl-pipe.cpp.
| void ProcessLoop | ( | struct impact_CInstance * | pInstance | ) |
| void Usage | ( | const char * | progname | ) |
Definition at line 58 of file sound4.impact.cl-pipe.cpp.