mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2025-06-08 02:29:40 +08:00
32 lines
521 B
C++
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;
|
|
};
|