SOUND4 BIGVOICE.CL Library [1.1.6]
Loading...
Searching...
No Matches
Macros | Functions
sound4.bigvoice.cl-pipe.cpp File Reference

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.bigvoice.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 bigvoice_CInstance *pInstance)
 
void Usage (const char *progname)
 
void MyLogger (bigvoice_LogSeverity severe, const char *str)
 
int main (int argc, char *const argv[])
 

Macro Definition Documentation

◆ CHANNEL_COUNT

#define CHANNEL_COUNT   2

Definition at line 22 of file sound4.bigvoice.cl-pipe.cpp.

◆ CHUNK_SIZE

#define CHUNK_SIZE   64

Definition at line 21 of file sound4.bigvoice.cl-pipe.cpp.

◆ SAMPLE_RATE

#define SAMPLE_RATE   48000

Definition at line 20 of file sound4.bigvoice.cl-pipe.cpp.

Function Documentation

◆ main()

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.bigvoice.cl-pipe.cpp.

◆ MyLogger()

void MyLogger ( bigvoice_LogSeverity  severe,
const char *  str 
)

Definition at line 78 of file sound4.bigvoice.cl-pipe.cpp.

◆ ProcessLoop()

void ProcessLoop ( struct bigvoice_CInstance pInstance)

[Processing Loop]

[Processing Loop]

Definition at line 25 of file sound4.bigvoice.cl-pipe.cpp.

◆ Usage()

void Usage ( const char *  progname)

Definition at line 58 of file sound4.bigvoice.cl-pipe.cpp.