mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2025-06-08 02:29:40 +08:00
32 lines
585 B
C++
32 lines
585 B
C++
//
|
|
// Created by mart on 7/26/21.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "../utils/Crossfeed.h"
|
|
#include "../utils/PassFilter.h"
|
|
|
|
class Cure {
|
|
public:
|
|
Cure();
|
|
|
|
void Process(float* buffer, uint32_t size);
|
|
void Reset();
|
|
void SetEnable(bool enabled);
|
|
|
|
uint16_t GetCutoff();
|
|
float GetFeedback();
|
|
float GetLevelDelay();
|
|
preset_t GetPreset();
|
|
void SetCutoff(uint16_t cutoff);
|
|
void SetFeedback(float feedback);
|
|
void SetPreset(preset_t preset);
|
|
void SetSamplingRate(uint32_t samplerate);
|
|
|
|
Crossfeed crossfeed;
|
|
PassFilter pass;
|
|
bool enabled;
|
|
};
|