ViPERFX_RE/src/cpp/viper/utils/DepthSurround.h

28 lines
473 B
C
Raw Normal View History

2021-07-28 12:40:34 +02:00
#pragma once
#include <cstdint>
2022-09-18 03:38:22 +02:00
#include "Biquad.h"
2021-07-28 12:40:34 +02:00
#include "TimeConstDelay.h"
class DepthSurround {
public:
DepthSurround();
void Process(float *samples, uint32_t size);
2021-07-28 12:40:34 +02:00
void RefreshStrength(short strength);
2021-07-28 12:40:34 +02:00
void SetSamplingRate(uint32_t samplerate);
2021-07-28 12:40:34 +02:00
void SetStrength(short strength);
short strength;
bool enabled;
bool strengthAtLeast500;
uint32_t gain;
float prev[2];
TimeConstDelay delay[2];
2022-09-18 03:38:22 +02:00
Biquad highpass;
2021-07-28 12:40:34 +02:00
};