NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
AXFXReverbHiExp.h
1#ifndef RVL_SDK_AXFX_REVERB_HI_EXP_H
2#define RVL_SDK_AXFX_REVERB_HI_EXP_H
3#include <types.h>
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8// Forward declarations
9typedef struct AXFX_BUS AXFX_BUS;
11
12typedef struct AXFX_REVERBHI_EXP {
13 f32* earlyLine[3]; // at 0x0
14 u32 earlyPos[3]; // at 0xC
15 u32 earlyLength; // at 0x18
16 u32 earlyMaxLength; // at 0x1C
17 f32 earlyCoef[3]; // at 0x20
18
19 f32* preDelayLine[3]; // at 0x2C
20 u32 preDelayPos; // at 0x38
21 u32 preDelayLength; // at 0x3C
22 u32 preDelayMaxLength; // at 0x40
23
24 f32* combLine[3][3]; // at 0x44
25 u32 combPos[3]; // at 0x68
26 u32 combLength[3]; // at 0x74
27 u32 combMaxLength[3]; // at 0x80
28 f32 combCoef[3]; // at 0x8C
29
30 f32* allpassLine[3][2]; // at 0x98
31 u32 allpassPos[2]; // at 0xB0
32 u32 allpassLength[2]; // at 0xB8
33 u32 allpassMaxLength[2]; // at 0xC0
34
35 f32* lastAllpassLine[3]; // at 0xC8
36 u32 lastAllpassPos[3]; // at 0xD4
37 u32 lastAllpassLength[3]; // at 0xE0
38 u32 lastAllpassMaxLength[3]; // at 0xEC
39
40 f32 allpassCoef; // at 0xF8
41 f32 lastLpfOut[3]; // at 0xFC
42 f32 lpfCoef; // at 0x108
43 u32 active; // at 0x10C
44 u32 earlyMode; // at 0x110
45 f32 preDelayTimeMax; // at 0x114
46 f32 preDelayTime; // at 0x118
47 u32 fusedMode; // at 0x11C
48 f32 fusedTime; // at 0x120
49 f32 coloration; // at 0x124
50 f32 damping; // at 0x128
51 f32 crosstalk; // at 0x12C
52 f32 earlyGain; // at 0x130
53 f32 fusedGain; // at 0x134
54 AXFX_BUS* busIn; // at 0x138
55 AXFX_BUS* busOut; // at 0x13C
56 f32 outGain; // at 0x140
57 f32 sendGain; // at 0x144
59
60u32 AXFXReverbHiExpGetMemSize(const AXFX_REVERBHI_EXP* fx);
61BOOL AXFXReverbHiExpInit(AXFX_REVERBHI_EXP* fx);
62void AXFXReverbHiExpShutdown(AXFX_REVERBHI_EXP* fx);
63BOOL AXFXReverbHiExpSettings(AXFX_REVERBHI_EXP* fx);
64void AXFXReverbHiExpCallback(AXFX_BUFFERUPDATE* update, AXFX_REVERBHI_EXP* fx);
65
66#ifdef __cplusplus
67}
68#endif
69#endif