mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2025-06-08 02:29:40 +08:00
25 lines
370 B
C++
25 lines
370 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
class SoftwareLimiter {
|
|
public:
|
|
SoftwareLimiter();
|
|
|
|
void Process(float *samples, uint32_t size);
|
|
void ResetLimiter();
|
|
void SetGate(float gate);
|
|
|
|
private:
|
|
float gate;
|
|
float unknown1;
|
|
float unknown2;
|
|
float unknown3;
|
|
float arr256[256];
|
|
float arr512[512];
|
|
uint32_t unknown4;
|
|
bool ready;
|
|
};
|
|
|
|
|