NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
snd_FxBase.h
1#ifndef NW4R_SND_FX_BASE_H
2#define NW4R_SND_FX_BASE_H
3
4/*******************************************************************************
5 * headers
6 */
7
8#include <types.h>
9
10#include "nw4r/snd/snd_global.h"
11
12#include "nw4r/ut/ut_NonCopyable.h" // NonCopyable
13#include "nw4r/ut/ut_LinkList.h"
14
15/*******************************************************************************
16 * classes and functions
17 */
18
19namespace nw4r { namespace snd
20{
21 // [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x20f98
22 class FxBase : private ut::NonCopyable
23 {
24 // typedefs
25 public:
26 typedef ut::LinkList<FxBase, 0x04> LinkList;
27
28 // methods
29 public:
30 // cdtors
31 virtual ~FxBase() {}
32
33 // virtual function ordering
34 // vtable FxBase
35 virtual bool StartUp();
36 virtual void Shutdown();
37 virtual void UpdateBuffer(int, void **, ulong, SampleFormat, f32,
38 OutputMode);
39 virtual void OnChangeOutputMode();
40
41 private:
42 /* base ut::NonCopyable */ // size 0x00, offset 0x00
43 /* vtable */ // size 0x04, offset 0x00
44 public:
45 ut::LinkListNode mFxLink; // size 0x08, offset 0x04
46 }; // size 0x0c
47}} // namespace nw4r::snd
48
49#endif // NW4R_SND_FX_BASE_H