summaryrefslogtreecommitdiff
path: root/include/nw4r/snd/snd_FxBase.h
blob: 346940951daaf4c3d889c9ed288062f02b71f292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef NW4R_SND_FX_BASE_H
#define NW4R_SND_FX_BASE_H

/*******************************************************************************
 * headers
 */

#include "common.h"

#include "nw4r/snd/snd_global.h"

#include "nw4r/ut/ut_NonCopyable.h" // NonCopyable
#include "nw4r/ut/ut_LinkList.h"

/*******************************************************************************
 * classes and functions
 */

namespace nw4r { namespace snd
{
	// [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x20f98
	class FxBase : private ut::NonCopyable
	{
	// typedefs
	public:
		typedef ut::LinkList<FxBase, 0x04> LinkList;

	// methods
	public:
		// cdtors
		virtual ~FxBase() {}

		// virtual function ordering
		// vtable FxBase
		virtual bool StartUp();
		virtual void Shutdown();
		virtual void UpdateBuffer(int, void **, u32, SampleFormat, f32,
		                          OutputMode);
		virtual void OnChangeOutputMode();

	private:
		/* base ut::NonCopyable */		// size 0x00, offset 0x00
		/* vtable */					// size 0x04, offset 0x00
	public:
		ut::LinkListNode	mFxLink;	// size 0x08, offset 0x04
	}; // size 0x0c
}} // namespace nw4r::snd

#endif // NW4R_SND_FX_BASE_H