kopia lustrzana https://github.com/jameshball/osci-render
14 wiersze
348 B
C++
14 wiersze
348 B
C++
#pragma once
|
|
#include "EffectApplication.h"
|
|
#include "../shape/OsciPoint.h"
|
|
|
|
class DistortEffect : public EffectApplication {
|
|
public:
|
|
DistortEffect(bool vertical);
|
|
~DistortEffect();
|
|
|
|
OsciPoint apply(int index, OsciPoint input, const std::vector<std::atomic<double>>& values, double sampleRate) override;
|
|
private:
|
|
bool vertical;
|
|
};
|