ViPERFX_RE/src/cpp/utils/DepthSurround.h

32 lines
521 B
C
Raw Normal View History

2021-07-28 12:40:34 +02:00
//
// Created by mart on 7/28/21.
//
#pragma once
#include <cstdint>
#include "FixedBiquad.h"
#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];
FixedBiquad highpass;
};