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