NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
AXFXChorusExp.h
1
#ifndef RVL_SDK_AXFX_CHORUS_EXP_H
2
#define RVL_SDK_AXFX_CHORUS_EXP_H
3
#include <types.h>
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
// Forward declarations
9
typedef
struct
AXFX_BUS
AXFX_BUS
;
10
typedef
struct
AXFX_BUFFERUPDATE
AXFX_BUFFERUPDATE
;
11
12
typedef
struct
AXFX_CHORUS_EXP_DELAY
{
13
f32* line[3];
// at 0x0
14
u32 inPos;
// at 0xC
15
u32 outPos;
// at 0x10
16
u32 lastPos;
// at 0x14
17
u32 sizeFP;
// at 0x18
18
u32 size;
// at 0x1C
19
}
AXFX_CHORUS_EXP_DELAY
;
20
21
typedef
struct
AXFX_CHORUS_EXP_LFO
{
22
s32* table;
// at 0x0
23
s32 phaseAdd;
// at 0x4
24
s32 stepSamp;
// at 0x8
25
s32 depthSamp;
// at 0xC
26
u32 phase;
// at 0x10
27
u32 sign;
// at 0x14
28
u32 lastNum;
// at 0x18
29
s32 lastValue;
// at 0x1C
30
s32 grad;
// at 0x20
31
s32 gradFactor;
// at 0x24
32
}
AXFX_CHORUS_EXP_LFO
;
33
34
typedef
struct
AXFX_CHORUS_EXP
{
35
AXFX_CHORUS_EXP_DELAY
delay;
// at 0x0
36
AXFX_CHORUS_EXP_LFO
lfo;
// at 0x20
37
f32 history[3][4];
// at 0x48
38
u32 histIndex;
// at 0x78
39
u32 active;
// at 0x7C
40
f32 delayTime;
// at 0x80
41
f32 depth;
// at 0x84
42
f32 rate;
// at 0x88
43
f32 feedback;
// at 0x8C
44
AXFX_BUS* busIn;
// at 0x90
45
AXFX_BUS* busOut;
// at 0x94
46
f32 outGain;
// at 0x98
47
f32 sendGain;
// at 0x9C
48
}
AXFX_CHORUS_EXP
;
49
50
u32 AXFXChorusExpGetMemSize(
const
AXFX_CHORUS_EXP
* fx);
51
BOOL AXFXChorusExpInit(
AXFX_CHORUS_EXP
* fx);
52
void
AXFXChorusExpShutdown(
AXFX_CHORUS_EXP
* fx);
53
BOOL AXFXChorusExpSettings(
AXFX_CHORUS_EXP
* fx);
54
void
AXFXChorusExpCallback(
AXFX_BUFFERUPDATE
* update,
AXFX_CHORUS_EXP
* fx);
55
56
#ifdef __cplusplus
57
}
58
#endif
59
#endif
AXFX_BUFFERUPDATE
Definition
AXFXCommon.h:14
AXFX_BUS
Definition
AXFXCommon.h:8
AXFX_CHORUS_EXP_DELAY
Definition
AXFXChorusExp.h:12
AXFX_CHORUS_EXP_LFO
Definition
AXFXChorusExp.h:21
AXFX_CHORUS_EXP
Definition
AXFXChorusExp.h:34
include
lib
revolution
AXFX
AXFXChorusExp.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2