mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2024-12-22 22:47:25 +08:00
Start working on ProcessUnit_FX
This commit is contained in:
parent
0f30a35b49
commit
56c7e402f1
@ -24,7 +24,6 @@ add_library( # Sets the name of the library.
|
||||
SHARED
|
||||
|
||||
# Provides a relative path to your source file(s).
|
||||
src/main.cpp
|
||||
src/ProcessUnit_FX.cpp
|
||||
${EFFECTS}
|
||||
${UTIL} src/data.h)
|
||||
|
@ -31,18 +31,14 @@ ProcessUnit_FX::ProcessUnit_FX() {
|
||||
float fVar4;
|
||||
float extraout_s0;
|
||||
|
||||
Effect::Effect((Effect *)this);
|
||||
this->field_0x0 = &PTR_command_000d0cf8;
|
||||
Effect::Effect((Effect *)this); // Parent class?
|
||||
this->field_0x0 = &PTR_command_000d0cf8; // ?
|
||||
__android_log_print(4,"ViPER4Android_v2","Welcome to ViPER4Android driver[SQ]");
|
||||
__android_log_print(4,"ViPER4Android_v2","Current version is %d.%d.%d.%d %s",2,5,0,4,"Beautiful");
|
||||
this->field_0x68 = (undefined *)this;
|
||||
this->field_0x88 = 0;
|
||||
this_00 = (AdaptiveBuffer_FPI32 *)operator_new(0x20);
|
||||
this_00 = new AdaptiveBuffer_FPI32(2,0x1000);
|
||||
this->floatIntBuffer = this_00;
|
||||
this_01 = (WaveBuffer_R32 *)operator_new(0x20);
|
||||
WaveBuffer_R32::WaveBuffer_R32(this_01,2,0x1000);
|
||||
this->waveBuffer = this_01;
|
||||
this->floatIntBuffer = new AdaptiveBuffer_FPI32(2,0x1000);
|
||||
this->waveBuffer = new WaveBuffer_R32(2,0x1000);
|
||||
this_02 = (Convolver *)operator_new(0x174);
|
||||
Convolver::Convolver(this_02);
|
||||
this->convolver = this_02;
|
||||
|
@ -5,8 +5,28 @@
|
||||
#ifndef VIPER_PROCESSUNIT_FX_H
|
||||
#define VIPER_PROCESSUNIT_FX_H
|
||||
|
||||
|
||||
#include "main.h"
|
||||
#include "effects/Effect.h"
|
||||
#include "data.h"
|
||||
#include "util/AdaptiveBuffer_FPI32.h"
|
||||
#include "util/WaveBuffer_R32.h"
|
||||
#include "effects/ViPERDDC.h"
|
||||
#include "effects/Convolver.h"
|
||||
#include "effects/VHE.h"
|
||||
#include "effects/SpectrumExtend.h"
|
||||
#include "effects/IIRFilter.h"
|
||||
#include "effects/ColorfulMusic.h"
|
||||
#include "effects/Reverberation.h"
|
||||
#include "effects/PlaybackGain.h"
|
||||
#include "effects/FETCompressor.h"
|
||||
#include "effects/DynamicSystem.h"
|
||||
#include "effects/ViPERBass.h"
|
||||
#include "effects/ViPERClarity.h"
|
||||
#include "effects/DiffSurround.h"
|
||||
#include "effects/Cure.h"
|
||||
#include "effects/TubeSimulator.h"
|
||||
#include "effects/AnalogX.h"
|
||||
#include "effects/SpeakerCorrection.h"
|
||||
#include "util/SoftwareLimiter.h"
|
||||
|
||||
class ProcessUnit_FX {
|
||||
public:
|
||||
@ -101,23 +121,23 @@ public:
|
||||
AdaptiveBuffer_FPI32 * floatIntBuffer;
|
||||
WaveBuffer_R32 * waveBuffer;
|
||||
undefined4 field_0x88;
|
||||
Convolver;
|
||||
VHE;
|
||||
Convolver * convolver;
|
||||
VHE * vhe;
|
||||
ViPERDDC * vddc;
|
||||
SpectrumExtend;
|
||||
IIRFilter;
|
||||
SpectrumExtend * spectrumExtend;
|
||||
IIRFilter * iirFilter;
|
||||
ColorfulMusic colorful;
|
||||
Reverberation * reverb;
|
||||
PlaybackGain;
|
||||
FETCompressor;
|
||||
DynamicSystem;
|
||||
PlaybackGain * playbackGain;
|
||||
FETCompressor * fetCompressor;
|
||||
DynamicSystem * dynamicSystem;
|
||||
ViPERBass * vbass;
|
||||
ViPERClarity * vclarity;
|
||||
DiffSurround;
|
||||
Cure;
|
||||
DiffSurround * diffSurround;
|
||||
Cure * cure;
|
||||
TubeSimulator * tubeSim;
|
||||
AnalogX;
|
||||
SpeakerCorrection;
|
||||
AnalogX * analogx;
|
||||
SpeakerCorrection * speakerCorrection;
|
||||
SoftwareLimiter * softLimit1;
|
||||
SoftwareLimiter * softLimit2;
|
||||
undefined4 field_0xd8;
|
||||
|
@ -6,7 +6,7 @@
|
||||
#define VIPER_COLORFULMUSIC_H
|
||||
|
||||
|
||||
#include "Stereo3DSurround.h"
|
||||
#include "../util/Stereo3DSurround.h"
|
||||
|
||||
class ColorfulMusic {
|
||||
undefined field_0x0;
|
||||
|
@ -6,7 +6,7 @@
|
||||
#define VIPER_DEPTHSURROUND_H
|
||||
|
||||
|
||||
#include "Stereo3DSurround.h"
|
||||
#include "../util/Stereo3DSurround.h"
|
||||
|
||||
class DepthSurround {
|
||||
short field_0x0;
|
||||
|
@ -5,6 +5,8 @@
|
||||
#include "util/misc.h"
|
||||
#include "ProcessUnit_FX.h"
|
||||
|
||||
// We don't really care about this file, it's just compat with android API
|
||||
|
||||
typedef struct intf {
|
||||
int32_t (*process)(effect_handle_t self,
|
||||
audio_buffer_t *inBuffer,
|
||||
|
Loading…
Reference in New Issue
Block a user