ViPERFX_RE/src/cpp/utils/DepthSurround.h
Iscle 926aec54bb Reformatted code
Indentated with 4 spaces
2022-08-23 00:26:44 +02:00

32 lines
521 B
C++

//
// 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);
void RefreshStrength(short strength);
void SetSamplingRate(uint32_t samplerate);
void SetStrength(short strength);
short strength;
bool enabled;
bool strengthAtLeast500;
uint32_t gain;
float prev[2];
TimeConstDelay delay[2];
FixedBiquad highpass;
};