LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp_threadedindatahandler.h File Reference
#include "debugtrace.hpp"
#include "lasp_indatahandler.h"
#include "lasp_thread.h"
#include <atomic>
#include <memory>
#include <mutex>
Include dependency graph for lasp_threadedindatahandler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ThreadedInDataHandlerBase
 Threaded in data handler base. Buffers inCallback data and calls a callback with the same signature on a different thread. The main function of this is to offload the thread that handles the stream, such that expensive computations do not result in stream buffer xruns. More...
 
class  ThreadedInDataHandler< Derived >
 A bit of curiously recurring template pattern, to connect the specific handlers and connect the proper callbacks in a type-agnostic way. Using this class, each threaded handler should just implement its reset() and inCallback() method. Ellides the virtual method calls. More...
 

Variables

const us RINGBUFFER_SIZE = 1024
 

Variable Documentation

◆ RINGBUFFER_SIZE

const us RINGBUFFER_SIZE = 1024

Definition at line 10 of file lasp_threadedindatahandler.h.