NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
snd_NoteOnCallback.h
1
#ifndef NW4R_SND_NOTE_ON_CALLBACK_H
2
#define NW4R_SND_NOTE_ON_CALLBACK_H
3
4
/*******************************************************************************
5
* headers
6
*/
7
8
#include <types.h>
9
10
#include "nw4r/snd/snd_Channel.h"
11
12
/*******************************************************************************
13
* types
14
*/
15
16
// forward declarations
17
namespace
nw4r {
namespace
snd {
namespace
detail {
class
SeqPlayer
; }}}
18
19
namespace
nw4r {
namespace
snd {
namespace
detail
20
{
21
// [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x2dd4c
22
struct
NoteOnInfo
23
{
24
int
prgNo;
// size 0x04, offset 0x00
25
int
key;
// size 0x04, offset 0x04
26
int
velocity;
// size 0x04, offset 0x08
27
int
length;
// size 0x04, offset 0x0c
28
int
initPan;
// size 0x04, offset 0x10
29
int
priority;
// size 0x04, offset 0x14
30
int
voiceOutCount;
// size 0x04, offset 0x18
31
Channel::Callback *channelCallback;
// size 0x04, offset 0x1c
32
ulong channelCallbackData;
// size 0x04, offset 0x20
33
};
// size 0x24
34
}}}
// namespace nw4r::snd::detail
35
36
/*******************************************************************************
37
* classes and functions
38
*/
39
40
namespace
nw4r {
namespace
snd {
namespace
detail
41
{
42
// [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x2e4ab
43
class
NoteOnCallback
44
{
45
// methods
46
public
:
47
// cdtors
48
virtual
~NoteOnCallback
() {}
49
50
// virtual function ordering
51
// vtable NoteOnCallback
52
virtual
Channel
*NoteOn(
SeqPlayer
*seqPlayer,
int
bankNo,
53
NoteOnInfo
const
¬eOnInfo) = 0;
54
55
// members
56
private
:
57
/* vtable */
// size 0x04, offset 0x00
58
};
// size 0x04
59
}}}
// namespace nw4r::snd::detail
60
61
#endif
// NW4R_SND_NOTE_ON_CALLBACK_H
nw4r::snd::detail::Channel
Definition
snd_Channel.h:40
nw4r::snd::detail::NoteOnCallback
Definition
snd_NoteOnCallback.h:44
nw4r::snd::detail::SeqPlayer
Definition
snd_SeqPlayer.h:50
nw4r::snd::detail::NoteOnInfo
Definition
snd_NoteOnCallback.h:23
include
lib
nw4r
snd
snd_NoteOnCallback.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2