![]() |
SOUND4 x1.CLOUD Library [1.5.6]
|
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.x1.cloud.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 cloudx1_CInstance *pInstance) |
void | Usage (const char *progname) |
void | MyLogger (cloudx1_LogSeverity severe, const char *str) |
int | main (int argc, char *const argv[]) |
#define CHANNEL_COUNT 2 |
Definition at line 22 of file sound4.x1.cloud-pipe.cpp.
#define CHUNK_SIZE 64 |
Definition at line 21 of file sound4.x1.cloud-pipe.cpp.
#define SAMPLE_RATE 48000 |
Definition at line 20 of file sound4.x1.cloud-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.x1.cloud-pipe.cpp.
void MyLogger | ( | cloudx1_LogSeverity | severe, |
const char * | str | ||
) |
Definition at line 78 of file sound4.x1.cloud-pipe.cpp.
void ProcessLoop | ( | struct cloudx1_CInstance * | pInstance | ) |
void Usage | ( | const char * | progname | ) |
Definition at line 58 of file sound4.x1.cloud-pipe.cpp.