papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
reverb.c File Reference

Macros

#define SWAP16(in, out)
 
#define CONVERT   173123.404906676
 
#define SCALE   16384
 
#define INPUT_PARAM   0
 
#define OUTPUT_PARAM   1
 
#define FBCOEF_PARAM   2
 
#define FFCOEF_PARAM   3
 
#define GAIN_PARAM   4
 
#define CHORUSRATE_PARAM   5
 
#define CHORUSDEPTH_PARAM   6
 
#define LPFILT_PARAM   7
 

Functions

void func_80058E84 (AuFX *fx, u8 effectType, ALHeap *heap)
 
void func_80058F88 (AlUnkKappa *kappa, ALHeap *heap)
 
void func_80059008 (AlUnkKappa *kappa, s16 arg1, s16 arg2, s16 fc)
 
void func_8005904C (AuFX *fx, u8 effectType)
 
Acmd * au_pull_fx (AuFX *fx, Acmd *ptr, s16 outputBuf, s16 arg3)
 
s32 au_fx_param_hdl (AuFX *fx, s16 index, s16 paramID, s32 value)
 

Variables

s32 SMALL_ROOM_PARAMS []
 
s32 BIG_ROOM_PARAMS []
 
s32 D_8007F0C0 []
 
s32 ECHO_PARAMS []
 
s32 CHORUS_PARAMS []
 
s32 FLANGE_PARAMS []
 
s32 NULL_PARAMS []
 
s32 * AU_FX_CUSTOM_PARAMS []
 

Macro Definition Documentation

◆ CHORUSDEPTH_PARAM

#define CHORUSDEPTH_PARAM   6

Referenced by au_fx_param_hdl().

◆ CHORUSRATE_PARAM

#define CHORUSRATE_PARAM   5

Referenced by au_fx_param_hdl().

◆ CONVERT

#define CONVERT   173123.404906676

Referenced by au_fx_param_hdl(), and func_8005904C().

◆ FBCOEF_PARAM

#define FBCOEF_PARAM   2

Referenced by au_fx_param_hdl().

◆ FFCOEF_PARAM

#define FFCOEF_PARAM   3

Referenced by au_fx_param_hdl().

◆ GAIN_PARAM

#define GAIN_PARAM   4

Referenced by au_fx_param_hdl().

◆ INPUT_PARAM

#define INPUT_PARAM   0

Referenced by au_fx_param_hdl().

◆ LPFILT_PARAM

#define LPFILT_PARAM   7

Referenced by au_fx_param_hdl().

◆ OUTPUT_PARAM

#define OUTPUT_PARAM   1

Referenced by au_fx_param_hdl().

◆ SCALE

#define SCALE   16384

◆ SWAP16

#define SWAP16 ( in,
out )
Value:
{ \
s16 t = out; \
out = in; \
in = t; \
}

Referenced by au_pull_fx().

Function Documentation

◆ au_fx_param_hdl()

s32 au_fx_param_hdl ( AuFX * fx,
s16 index,
s16 paramID,
s32 value )

Referenced by au_bus_set_fx_params().

◆ au_pull_fx()

Acmd * au_pull_fx ( AuFX * fx,
Acmd * ptr,
s16 outputBuf,
s16 arg3 )

Referenced by alAudioFrame().

◆ func_80058E84()

void func_80058E84 ( AuFX * fx,
u8 effectType,
ALHeap * heap )
Parameters
effectTypefrom enum AuEffectType

Referenced by au_driver_init().

◆ func_80058F88()

void func_80058F88 ( AlUnkKappa * kappa,
ALHeap * heap )

◆ func_80059008()

void func_80059008 ( AlUnkKappa * kappa,
s16 arg1,
s16 arg2,
s16 fc )

Referenced by func_80058F88().

◆ func_8005904C()

void func_8005904C ( AuFX * fx,
u8 effectType )

Referenced by au_bus_set_effect(), and func_80058E84().

Variable Documentation

◆ AU_FX_CUSTOM_PARAMS

s32* AU_FX_CUSTOM_PARAMS[]
Initial value:
= {
}
s32 NULL_PARAMS[]
Definition reverb.c:94

Referenced by au_sfx_set_reverb_type(), and func_8005904C().

◆ BIG_ROOM_PARAMS

s32 BIG_ROOM_PARAMS[]
Initial value:
= {
4, 14,
0, 9, 9830, -9830, 0, 0, 0, 0,
2, 6, 3276, -3276, 0x3FFF, 0, 0, 0,
9, 12, 3276, -3276, 0x3FFF, 0, 0, 0,
0, 13, 6000, 0, 0, 0, 0, 0x5000
}

Referenced by func_8005904C().

◆ CHORUS_PARAMS

s32 CHORUS_PARAMS[]
Initial value:
= {
1, 3,
0, 1, 16384, 0, 0x7FFF, 7600, 700, 0
}

Referenced by func_8005904C().

◆ D_8007F0C0

s32 D_8007F0C0[]
Initial value:
= {
4, 17,
0, 11, 9830, -9830, 0, 0, 0, 0,
4, 9, 3276, -3276, 0x3FFF, 0, 0, 0,
11, 15, 3276, -3276, 0x3FFF, 0, 0, 0,
0, 16, 8000, 0, 0, 0, 0, 0x5000
}

◆ ECHO_PARAMS

s32 ECHO_PARAMS[]
Initial value:
= {
1, 14,
0, 13, 20000, 0, 0x7FFF, 0, 0, 0x7FFF
}

Referenced by func_8005904C().

◆ FLANGE_PARAMS

s32 FLANGE_PARAMS[]
Initial value:
= {
1, 3,
0, 1, 0, 0x5FFF, 0x7FFF, 380, 500, 0
}

Referenced by func_8005904C().

◆ NULL_PARAMS

s32 NULL_PARAMS[]
Initial value:
= {
0, 0,
0, 0, 0, 0, 0, 0, 0, 0
}

Referenced by func_8005904C().

◆ SMALL_ROOM_PARAMS

s32 SMALL_ROOM_PARAMS[]
Initial value:
= {
3, 11,
0, 9, 9830, -9830, 0, 0, 0, 0,
3, 7, 3276, -3276, 0x3FFF, 0, 0, 0,
0, 10, 5000, 0, 0, 0, 0, 0x5000
}

Referenced by func_8005904C().