mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2025-06-08 02:29:40 +08:00
34 lines
472 B
C++
34 lines
472 B
C++
//
|
|
// Created by mart on 7/31/21.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
|
|
#include <cstdint>
|
|
#include "../utils/WaveBuffer_I32.h"
|
|
|
|
class DiffSurround {
|
|
public:
|
|
DiffSurround();
|
|
|
|
~DiffSurround();
|
|
|
|
void Process(float *samples, uint32_t size);
|
|
|
|
void Reset();
|
|
|
|
void SetDelayTime(float value);
|
|
|
|
void SetEnable(bool enabled);
|
|
|
|
void SetSamplingRate(uint32_t samplerate);
|
|
|
|
uint32_t samplerate;
|
|
bool enabled;
|
|
float delayTime;
|
|
WaveBuffer_I32 *buffers[2];
|
|
};
|
|
|
|
|