YARP
Yet Another Robot Platform
fakeMicrophone.cpp File Reference
#include "fakeMicrophone.h"
#include <yarp/os/Thread.h>
#include <yarp/os/Time.h>
#include <yarp/os/Semaphore.h>
#include <yarp/os/Stamp.h>
#include <yarp/os/LogComponent.h>
#include <yarp/os/LogStream.h>
#include <mutex>
#include <string>
+ Include dependency graph for fakeMicrophone.cpp:

Go to the source code of this file.

Macros

#define HW_CHANNELS   2
 
#define SAMPLING_RATE   44100
 
#define CHUNK_SIZE   512
 
#define SLEEP_TIME   0.005
 
#define SAMPLES_TO_BE_COPIED   512
 

Typedefs

typedef unsigned short int audio_sample_16t
 

Macro Definition Documentation

◆ CHUNK_SIZE

#define CHUNK_SIZE   512

Definition at line 28 of file fakeMicrophone.cpp.

◆ HW_CHANNELS

#define HW_CHANNELS   2

Definition at line 26 of file fakeMicrophone.cpp.

◆ SAMPLES_TO_BE_COPIED

#define SAMPLES_TO_BE_COPIED   512

Definition at line 30 of file fakeMicrophone.cpp.

◆ SAMPLING_RATE

#define SAMPLING_RATE   44100

Definition at line 27 of file fakeMicrophone.cpp.

◆ SLEEP_TIME

#define SLEEP_TIME   0.005

Definition at line 29 of file fakeMicrophone.cpp.

Typedef Documentation

◆ audio_sample_16t

typedef unsigned short int audio_sample_16t

Definition at line 36 of file fakeMicrophone.cpp.