mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2025-06-08 10:39:29 +08:00
ViPER: Make it build
This commit is contained in:
parent
8bf909a25d
commit
30e8bd545c
@ -1 +1,37 @@
|
|||||||
#include "ColorfulMusic.h"
|
#include "ColorfulMusic.h"
|
||||||
|
|
||||||
|
ColorfulMusic::ColorfulMusic() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
ColorfulMusic::~ColorfulMusic() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColorfulMusic::Process(float *samples, uint32_t size) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColorfulMusic::Reset() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColorfulMusic::SetDepthValue() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColorfulMusic::SetEnable(bool enable) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColorfulMusic::SetMidImageValue() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColorfulMusic::SetSamplingRate(uint32_t samplingRate) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ColorfulMusic::SetWidenValue() {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -9,6 +9,10 @@ Cure::Cure() {
|
|||||||
Reset();
|
Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Cure::~Cure() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void Cure::Process(float *buffer, uint32_t size) {
|
void Cure::Process(float *buffer, uint32_t size) {
|
||||||
if (this->enabled) {
|
if (this->enabled) {
|
||||||
this->crossfeed.ProcessFrames(buffer, size);
|
this->crossfeed.ProcessFrames(buffer, size);
|
||||||
|
@ -9,14 +9,14 @@ public:
|
|||||||
Cure();
|
Cure();
|
||||||
~Cure();
|
~Cure();
|
||||||
|
|
||||||
void Process(float *buffer, uint32_t size);
|
|
||||||
void Reset();
|
|
||||||
void SetEnable(bool enabled);
|
|
||||||
uint16_t GetCutoff();
|
uint16_t GetCutoff();
|
||||||
float GetFeedback();
|
float GetFeedback();
|
||||||
float GetLevelDelay();
|
float GetLevelDelay();
|
||||||
preset_t GetPreset();
|
preset_t GetPreset();
|
||||||
|
void Process(float *buffer, uint32_t size);
|
||||||
|
void Reset();
|
||||||
void SetCutoff(uint16_t cutoff);
|
void SetCutoff(uint16_t cutoff);
|
||||||
|
void SetEnable(bool enabled);
|
||||||
void SetFeedback(float feedback);
|
void SetFeedback(float feedback);
|
||||||
void SetPreset(preset_t preset);
|
void SetPreset(preset_t preset);
|
||||||
void SetSamplingRate(uint32_t samplerate);
|
void SetSamplingRate(uint32_t samplerate);
|
||||||
|
@ -47,3 +47,7 @@ void DynamicSystem::SetSamplingRate(uint32_t samplerate) {
|
|||||||
this->samplerate = samplerate;
|
this->samplerate = samplerate;
|
||||||
this->bass.SetSamplingRate(samplerate);
|
this->bass.SetSamplingRate(samplerate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DynamicSystem::~DynamicSystem() {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -12,10 +12,10 @@ public:
|
|||||||
void Reset();
|
void Reset();
|
||||||
void SetBassGain(float gain);
|
void SetBassGain(float gain);
|
||||||
void SetEnable(bool enable);
|
void SetEnable(bool enable);
|
||||||
|
void SetSamplingRate(uint32_t samplerate);
|
||||||
void SetSideGain(float gainX, float gainY);
|
void SetSideGain(float gainX, float gainY);
|
||||||
void SetXCoeffs(uint32_t low, uint32_t high);
|
void SetXCoeffs(uint32_t low, uint32_t high);
|
||||||
void SetYCoeffs(uint32_t low, uint32_t high);
|
void SetYCoeffs(uint32_t low, uint32_t high);
|
||||||
void SetSamplingRate(uint32_t samplerate);
|
|
||||||
|
|
||||||
DynamicBass bass;
|
DynamicBass bass;
|
||||||
uint32_t samplerate;
|
uint32_t samplerate;
|
||||||
|
@ -1 +1,41 @@
|
|||||||
#include "FETCompressor.h.h"
|
#include "FETCompressor.h"
|
||||||
|
|
||||||
|
FETCompressor::FETCompressor() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
FETCompressor::~FETCompressor() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void FETCompressor::GetMeter() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void FETCompressor::GetParameter() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void FETCompressor::GetParameterDefault() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void FETCompressor::ProcessSidechain() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void FETCompressor::Reset() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void FETCompressor::SetParameter(int32_t param_1, float param_2) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void FETCompressor::SetSamplingRate(uint32_t samplingRate) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void FETCompressor::Process(float *samples, uint32_t size) {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -9,8 +9,8 @@ public:
|
|||||||
|
|
||||||
void GetMeter();
|
void GetMeter();
|
||||||
void GetParameter();
|
void GetParameter();
|
||||||
void GetParamterDefault();
|
void GetParameterDefault();
|
||||||
void Process();
|
void Process(float *samples, uint32_t size);
|
||||||
void ProcessSidechain();
|
void ProcessSidechain();
|
||||||
void Reset();
|
void Reset();
|
||||||
void SetParameter(int32_t param_1, float param_2);
|
void SetParameter(int32_t param_1, float param_2);
|
||||||
|
@ -1 +1,29 @@
|
|||||||
#include "IIRFilter.h"
|
#include "IIRFilter.h"
|
||||||
|
|
||||||
|
IIRFilter::IIRFilter() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
IIRFilter::~IIRFilter() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void IIRFilter::Process(float *samples, uint32_t size) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void IIRFilter::Reset() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void IIRFilter::SetBandLevel() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void IIRFilter::SetEnable(bool enable) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void IIRFilter::SetSamplingRate(unsigned int i) {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -1 +1,41 @@
|
|||||||
#include "PlaybackGain.h"
|
#include "PlaybackGain.h"
|
||||||
|
|
||||||
|
PlaybackGain::PlaybackGain() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
PlaybackGain::~PlaybackGain() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void PlaybackGain::AnalyseWave() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void PlaybackGain::Reset() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void PlaybackGain::SetEnable(bool enable) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void PlaybackGain::SetMaxGainFactor() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void PlaybackGain::SetRatio() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void PlaybackGain::SetSamplingRate(uint32_t samplingRate) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void PlaybackGain::SetVolume() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void PlaybackGain::Process(float *samples, uint32_t size) {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -8,7 +8,7 @@ public:
|
|||||||
~PlaybackGain();
|
~PlaybackGain();
|
||||||
|
|
||||||
void AnalyseWave();
|
void AnalyseWave();
|
||||||
void Process();
|
void Process(float *samples, uint32_t size);
|
||||||
void Reset();
|
void Reset();
|
||||||
void SetEnable(bool enable);
|
void SetEnable(bool enable);
|
||||||
void SetMaxGainFactor();
|
void SetMaxGainFactor();
|
||||||
|
@ -68,3 +68,7 @@ void Reverberation::SetSamplingRate(uint32_t value) {
|
|||||||
this->samplerate = value;
|
this->samplerate = value;
|
||||||
this->model.Reset();
|
this->model.Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reverberation::~Reverberation() {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -1 +1,21 @@
|
|||||||
#include "SoftwareLimiter.h"
|
#include "SoftwareLimiter.h"
|
||||||
|
|
||||||
|
SoftwareLimiter::SoftwareLimiter() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
SoftwareLimiter::~SoftwareLimiter() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void SoftwareLimiter::Process(float *samples, uint32_t size) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void SoftwareLimiter::ResetLimiter() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void SoftwareLimiter::SetGate() {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -47,3 +47,7 @@ void SpeakerCorrection::SetSamplingRate(uint32_t samplerate) {
|
|||||||
this->samplerate = samplerate;
|
this->samplerate = samplerate;
|
||||||
Reset();
|
Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SpeakerCorrection::~SpeakerCorrection() {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -25,4 +25,8 @@ void TubeSimulator::TubeProcess(float *buffer, uint32_t size) {
|
|||||||
buffer[2 * x + 1] = this->acc[1];
|
buffer[2 * x + 1] = this->acc[1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TubeSimulator::~TubeSimulator() {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -1 +1,37 @@
|
|||||||
#include "ViPERBass.h"
|
#include "ViPERBass.h"
|
||||||
|
|
||||||
|
ViPERBass::ViPERBass() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
ViPERBass::~ViPERBass() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERBass::Process(float *samples, uint32_t size) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERBass::Reset() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERBass::SetBassFactor() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERBass::SetEnable(bool enable) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERBass::SetProcessMode() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERBass::SetSamplingRate(uint32_t samplingRate) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERBass::SetSpeaker() {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -86,3 +86,7 @@ void ViPERClarity::SetSamplingRate(uint32_t samplerate) {
|
|||||||
this->samplerate = samplerate;
|
this->samplerate = samplerate;
|
||||||
Reset();
|
Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ViPERClarity::~ViPERClarity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -1 +1,33 @@
|
|||||||
#include "ViPERDDC.h"
|
#include "ViPERDDC.h"
|
||||||
|
|
||||||
|
ViPERDDC::ViPERDDC() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
ViPERDDC::~ViPERDDC() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERDDC::Process(float *samples, uint32_t size) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERDDC::ReleaseResources() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERDDC::Reset() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERDDC::SetCoeffs() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERDDC::SetEnable(bool enable) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ViPERDDC::SetSamplingRate(uint32_t samplingRate) {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -3,3 +3,55 @@
|
|||||||
AdaptiveBuffer_F32::AdaptiveBuffer_F32(int channels, uint32_t size) {
|
AdaptiveBuffer_F32::AdaptiveBuffer_F32(int channels, uint32_t size) {
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AdaptiveBuffer_F32::~AdaptiveBuffer_F32() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void AdaptiveBuffer_F32::FlushBuffer() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
uint32_t AdaptiveBuffer_F32::GetBufferLength() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int32_t AdaptiveBuffer_F32::GetBufferOffset() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
float *AdaptiveBuffer_F32::GetBufferPointer() {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
uint32_t AdaptiveBuffer_F32::GetChannels() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AdaptiveBuffer_F32::PanFrames(int32_t param_1, int32_t param_2) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int32_t AdaptiveBuffer_F32::PopFrames(int16_t param_1, uint32_t param_2) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int32_t AdaptiveBuffer_F32::PushFrames(int16_t param_1, uint32_t param_2) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int32_t AdaptiveBuffer_F32::PushFrames(int32_t *param_1, uint32_t param_2) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
int32_t AdaptiveBuffer_F32::PushZero(uint32_t param_1) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AdaptiveBuffer_F32::ScaleFrames(int32_t param_1) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void AdaptiveBuffer_F32::SetBufferOffset(uint32_t param_1) {
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -10,7 +10,7 @@ public:
|
|||||||
void FlushBuffer();
|
void FlushBuffer();
|
||||||
uint32_t GetBufferLength();
|
uint32_t GetBufferLength();
|
||||||
int32_t GetBufferOffset();
|
int32_t GetBufferOffset();
|
||||||
int32_t *GetBufferPointer();
|
float *GetBufferPointer();
|
||||||
uint32_t GetChannels();
|
uint32_t GetChannels();
|
||||||
void PanFrames(int32_t param_1, int32_t param_2);
|
void PanFrames(int32_t param_1, int32_t param_2);
|
||||||
int32_t PopFrames(int16_t param_1, uint32_t param_2);
|
int32_t PopFrames(int16_t param_1, uint32_t param_2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user