New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
SndAudioMgr.h
Go to the documentation of this file.
1#pragma once
2
3#include <sound/AudAudioMgr.h>
4#include <sound/SndItemID.h>
5
6#include <heap/seadDisposer.h>
7#include <math/seadVector.h>
8
9#include <nw/snd/snd_SoundArchive.h>
10#include <nw/snd/snd_SoundHandle.h>
11
12class AudAudioPlayer;
13
14// vtbl Address: 0x1017C814
16{
17 // sInstance Address: 0x101E7C84
19
20public:
21 struct Arg;
22
23public:
24 // Address: 0x029B41AC
25 virtual void initialize(const Arg& arg);
26 // Address: 0x029B4FFC
27 virtual void calc();
28 // Address: Deleted
29 virtual void vf1C();
30 // Address: 0x029B6B10
31 virtual bool startSoundImpl(nw::snd::SoundHandle* handle, const char* label);
32 // ...
33
34 // Address: 0x029B3BA8
36
37 // Address: 0x029B3D8C
38 bool isSndPlaying(const char* label);
39
40 // Address: 0x029B54C0
41 bool startSystemSe(const char* label, nw::snd::OutputLine line_flag = nw::snd::OUTPUT_LINE_MAIN);
42
43 // Address: 0x029B5434
44 bool startSound(nw::snd::SoundHandle* handle, const char* label, nw::snd::OutputLine line_flag = nw::snd::OUTPUT_LINE_MAIN);
45
46 // Address: 0x029B5934
47 void startDrcTouchSound(const sead::Vector2f& world_pos, u32 type);
48
49 // Address: 0x029B1BD0
51
52 // Address: 0x029B7548
53 bool loadData(SndItemID item_id);
54
55 // Address: 0x029B554C
56 void setSoundOutputLine(nw::snd::SoundHandle* handle);
57private:
58 u32 _28[(0x3D0 - 0x28) / sizeof(u32)];
59};
60static_assert(sizeof(SndAudioMgr) == 0x3D4, "SndAudioMgr size mismatch");
Definition AudAudioPlayer.h:6
Definition SndAudioMgr.h:16
bool startSystemSe(const char *label, nw::snd::OutputLine line_flag=nw::snd::OUTPUT_LINE_MAIN)
virtual void initialize(const Arg &arg)
virtual void calc()
bool startSound(nw::snd::SoundHandle *handle, const char *label, nw::snd::OutputLine line_flag=nw::snd::OUTPUT_LINE_MAIN)
bool loadData(SndItemID item_id)
virtual bool startSoundImpl(nw::snd::SoundHandle *handle, const char *label)
AudAudioPlayer * getAudioPlayer()
nw::snd::SoundArchive * getSoundArchive()
void startDrcTouchSound(const sead::Vector2f &world_pos, u32 type)
virtual void vf1C()
u32 _28[(0x3D0 - 0x28)/sizeof(u32)]
Definition SndAudioMgr.h:58
bool isSndPlaying(const char *label)
void setSoundOutputLine(nw::snd::SoundHandle *handle)