NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
snd_BiquadFilterPreset.h
1#ifndef NW4R_SND_BIQUAD_FILTER_PRESET_H
2#define NW4R_SND_BIQUAD_FILTER_PRESET_H
3
4/*******************************************************************************
5 * headers
6 */
7
8#include <types.h>
9
10#include "nw4r/snd/snd_BiquadFilterCallback.h"
11
12/*******************************************************************************
13 * classes and functions
14 */
15
16namespace nw4r { namespace snd { namespace detail
17{
18 // [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x2a5425
20 {
21 // methods
22 public:
23 // virtual function ordering
24 // vtable BiquadFilterCallback
25 virtual void GetCoef(int type, f32 value, BiquadCoef *coef) const;
26
27 // static members
28 private:
29 /* technically it seems that COEF_TABLE_SIZE should be defined in terms
30 * of ARRAY_LENGTH(coefTable) (see the order of the typedef tags), but
31 * that seems needlessly more complicated, and I like putting static
32 * constexpr members first
33 */
34 static int const COEF_TABLE_SIZE = 112;
35
36 static BiquadCoef const coefTable[COEF_TABLE_SIZE];
37
38 // members
39 private:
40 /* vtable */ // size 0x04, offset 0x00
41 }; // size 0x04
42
43 // [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x2a5544
45 {
46 // methods
47 public:
48 // virtual function ordering
49 // vtable BiquadFilterCallback
50 virtual void GetCoef(int type, f32 value, BiquadCoef *coef) const;
51
52 // static members
53 private:
54 static int const COEF_TABLE_SIZE = 97;
55
56 static BiquadCoef const coefTable[COEF_TABLE_SIZE];
57
58 // members
59 private:
60 /* vtable */ // size 0x04, offset 0x00
61 }; // size 0x04
62
63 // [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x2a5663
65 {
66 // methods
67 public:
68 // virtual function ordering
69 // vtable BiquadFilterCallback
70 virtual void GetCoef(int type, f32 value, BiquadCoef *coef) const;
71
72 // static members
73 private:
74 static int const COEF_TABLE_SIZE = 122;
75
76 static BiquadCoef const coefTable[COEF_TABLE_SIZE];
77
78 // members
79 private:
80 /* vtable */ // size 0x04, offset 0x00
81 }; // size 0x04
82
83 // [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x2a578b
85 {
86 // methods
87 public:
88 // virtual function ordering
89 // vtable BiquadFilterCallback
90 virtual void GetCoef(int type, f32 value, BiquadCoef *coef) const;
91
92 // static members
93 private:
94 static int const COEF_TABLE_SIZE = 93;
95
96 static BiquadCoef const coefTable[COEF_TABLE_SIZE];
97
98 // members
99 private:
100 /* vtable */ // size 0x04, offset 0x00
101 }; // size 0x04
102
103 // [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x2a58b6
105 {
106 // methods
107 public:
108 // virtual function ordering
109 // vtable BiquadFilterCallback
110 virtual void GetCoef(int type, f32 value, BiquadCoef *coef) const;
111
112 // static members
113 private:
114 static int const COEF_TABLE_SIZE = 93;
115
116 static BiquadCoef const coefTable[COEF_TABLE_SIZE];
117
118 // members
119 private:
120 /* vtable */ // size 0x04, offset 0x00
121 }; // size 0x04
122}}} // namespace nw4r::snd::detail
123
124#endif // NW4R_SND_BIQUAD_FILTER_PRESET_H