mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-15 16:41:54 -05:00
ScopeVisualProcessor header..
This commit is contained in:
parent
8dfd94df8d
commit
e616ae1ebb
18
src/process/ScopeVisualProcessor.h
Normal file
18
src/process/ScopeVisualProcessor.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "VisualProcessor.h"
|
||||||
|
#include "AudioThread.h"
|
||||||
|
|
||||||
|
class ScopeRenderData: public ReferenceCounter {
|
||||||
|
public:
|
||||||
|
std::vector<float> waveform_points;
|
||||||
|
int channels;
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef ThreadQueue<ScopeRenderData *> ScopeRenderDataQueue;
|
||||||
|
|
||||||
|
class ScopeVisualProcessor : public VisualProcessor<AudioThreadInput, ScopeRenderData> {
|
||||||
|
protected:
|
||||||
|
void process();
|
||||||
|
ReBuffer<ScopeRenderData> outputBuffers;
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user