mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-16 09:01:49 -05:00
19 lines
412 B
C
19 lines
412 B
C
|
#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;
|
||
|
};
|