Oscilloscope 0.5.0
A simple oscilloscope VST
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ScopeDataCollector< SampleType > Class Template Reference

#include <ScopeDataCollector.h>

Public Member Functions

 ScopeDataCollector (AudioBufferQueue< SampleType > &queueToUse)
 
void process (const SampleType *data, size_t numSamples)
 

Detailed Description

template<typename SampleType>
class ScopeDataCollector< SampleType >

Class handling AudioBufferQueue.

Automatically fills a buffer, pushes it to the queue and starts filling the next one.

Definition at line 21 of file ScopeDataCollector.h.

Constructor & Destructor Documentation

◆ ScopeDataCollector()

template<typename SampleType >
ScopeDataCollector< SampleType >::ScopeDataCollector ( AudioBufferQueue< SampleType > &  queueToUse)
inline

Definition at line 25 of file ScopeDataCollector.h.

Member Function Documentation

◆ process()

template<typename SampleType >
void ScopeDataCollector< SampleType >::process ( const SampleType *  data,
size_t  numSamples 
)
inline

Processes incoming data.

Parameters
datapointer to a series of data.
numSamplesnumber of samples in the series.

Definition at line 43 of file ScopeDataCollector.h.


The documentation for this class was generated from the following file: