mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2025-06-10 19:29:22 +08:00
28 lines
526 B
C++
28 lines
526 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include "../utils/PConvSingle_F32.h"
|
|
#include "../utils/WaveBuffer.h"
|
|
|
|
class VHE {
|
|
public:
|
|
VHE();
|
|
~VHE();
|
|
|
|
bool GetEnabled();
|
|
void Process(float *source, float *dest, int frameSize);
|
|
void Reset();
|
|
void SetEffectLevel(uint32_t level);
|
|
void SetEnable(bool enabled);
|
|
void SetSamplingRate(uint32_t srate);
|
|
|
|
PConvSingle_F32 convLeft, convRight;
|
|
WaveBuffer *bufA, *bufB;
|
|
uint32_t samplerate;
|
|
bool enabled;
|
|
int effectLevel;
|
|
int convSize;
|
|
};
|
|
|
|
|