summaryrefslogtreecommitdiff
path: root/include/rvl/AXFX/AXFXReverbHiExpDpl2.h
blob: 10232e0ca08a3a4f488290af098717219ef97ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#ifndef RVL_SDK_AXFX_REVERB_HI_EXP_DPL2_H
#define RVL_SDK_AXFX_REVERB_HI_EXP_DPL2_H
#include "common.h"
#ifdef __cplusplus
extern "C" {
#endif

typedef struct AXFX_REVERBHI_EXP_DPL2 {
    f32 *earlyLine[4];  // at 0x0
    u32 earlyPos[3];    // at 0x10
    u32 earlyLength;    // at 0x1C
    u32 earlyMaxLength; // at 0x20
    f32 earlyCoef[3];   // at 0x24

    f32 *preDelayLine[4];  // at 0x30
    u32 preDelayPos;       // at 0x40
    u32 preDelayLength;    // at 0x44
    u32 preDelayMaxLength; // at 0x48

    f32 *combLine[4][3];  // at 0x4C
    u32 combPos[3];       // at 0x7C
    u32 combLength[3];    // at 0x88
    u32 combMaxLength[3]; // at 0x94
    f32 combCoef[3];      // at 0xA0

    f32 *allpassLine[4][2];  // at 0xAC
    u32 allpassPos[2];       // at 0xCC
    u32 allpassLength[2];    // at 0xD4
    u32 allpassMaxLength[2]; // at 0xDC

    f32 *lastAllpassLine[4];     // at 0xE4
    u32 lastAllpassPos[4];       // at 0xF4
    u32 lastAllpassLength[4];    // at 0x104
    u32 lastAllpassMaxLength[4]; // at 0x114

    f32 allpassCoef;         // at 0x124
    f32 lastLpfOut[4];       // at 0x128
    f32 lpfCoef;             // at 0x138
    u32 active;              // at 0x13C
    u32 earlyMode;           // at 0x140
    f32 preDelayTimeMax;     // at 0x144
    f32 preDelayTime;        // at 0x148
    u32 fusedMode;           // at 0x14C
    f32 fusedTime;           // at 0x150
    f32 coloration;          // at 0x154
    f32 damping;             // at 0x158
    f32 crosstalk;           // at 0x15C
    f32 earlyGain;           // at 0x160
    f32 fusedGain;           // at 0x164
    struct AXFX_BUS *busIn;  // at 0x168
    struct AXFX_BUS *busOut; // at 0x16C
    f32 outGain;             // at 0x170
    f32 sendGain;            // at 0x174
} AXFX_REVERBHI_EXP_DPL2;

u32 AXFXReverbHiExpGetMemSizeDpl2(const AXFX_REVERBHI_EXP_DPL2 *fx);
BOOL AXFXReverbHiExpInitDpl2(AXFX_REVERBHI_EXP_DPL2 *fx);
void AXFXReverbHiExpShutdownDpl2(AXFX_REVERBHI_EXP_DPL2 *fx);
BOOL AXFXReverbHiExpSettingsDpl2(AXFX_REVERBHI_EXP_DPL2 *fx);
void AXFXReverbHiExpCallbackDpl2(struct AXFX_BUFFERUPDATE_DPL2 *update, AXFX_REVERBHI_EXP_DPL2 *fx);

#ifdef __cplusplus
}
#endif
#endif