Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
Bank.h
Go to the documentation of this file.
1#ifndef NW4HBM_SND_BANK_H
2#define NW4HBM_SND_BANK_H
3
4#include <revolution/types.h>
5
6#include "BankFile.h"
7#include "NoteOnCallback.h"
8
9namespace nw4hbm {
10 namespace snd {
11 namespace detail {
12
13 class Channel;
14
15 class Bank {
16 public:
17 explicit Bank(const void* bankData);
19
20 Channel* NoteOn(const NoteOnInfo& noteOnInfo) const;
21
22 void SetWaveDataAddress(const void* waveData) {
23 NW4HBM_ASSERT_CHECK_NULL(47, waveData);
24 mWaveDataAddress = waveData;
25 }
26
27 private:
29 /* 0x0C */ const void* mWaveDataAddress;
30 };
31
32 } // namespace detail
33 } // namespace snd
34} // namespace nw4hbm
35
36#endif
Definition BankFile.h:95
Definition Bank.h:15
void SetWaveDataAddress(const void *waveData)
Definition Bank.h:22
const void * mWaveDataAddress
Definition Bank.h:29
Bank(const void *bankData)
Channel * NoteOn(const NoteOnInfo &noteOnInfo) const
BankFileReader mBankReader
Definition Bank.h:28
Definition Channel.h:23
Definition HBMAnmController.h:6
Definition NoteOnCallback.h:12