forked from isledecomp/racers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnullsoundgroup.h
More file actions
45 lines (38 loc) · 1.62 KB
/
Copy pathnullsoundgroup.h
File metadata and controls
45 lines (38 loc) · 1.62 KB
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
#ifndef NULLSOUNDGROUP_H
#define NULLSOUNDGROUP_H
#include "audio/soundgroup.h"
#include "compat.h"
#include "gollist.h"
#include "types.h"
class NullSoundInstance;
class NullStreamingSoundInstance;
// VTABLE: LEGORACERS 0x004afd04
// SIZE 0x28
class NullSoundGroup : public SoundGroup {
public:
NullSoundGroup();
~NullSoundGroup();
void Load(const LegoChar* p_name) override; // vtable+0x00
void Unload() override; // vtable+0x04
LegoBool32 IsLoaded() override; // vtable+0x08
// FUNCTION: LEGORACERS 0x0044e7e0 FOLDED
LegoU32 GetSoundCount() override { return 0; } // vtable+0x0c
void PlaySpatialSound(
LegoU32 p_index,
SoundVector* p_position,
LegoFloat p_minDistance,
LegoFloat p_maxDistance,
LegoFloat p_volume,
LegoFloat p_frequencyScale
) override; // vtable+0x10
void PlaySoundByIndex(LegoU32 p_index) override; // vtable+0x14
SoundInstance* CreateSoundInstance(LegoU32 p_index) override; // vtable+0x18
void DestroySoundInstance(SoundInstance* p_sound) override; // vtable+0x1c
StreamingSoundInstance* CreateStreamingSoundInstance(LegoU32 p_index) override; // vtable+0x20
void DestroyStreamingSoundInstance(StreamingSoundInstance* p_sound) override; // vtable+0x24
SoundManager* GetSoundManager() override; // vtable+0x28
private:
GolList<NullSoundInstance> m_soundInstances; // 0x10
GolList<NullStreamingSoundInstance> m_streamingSoundInstances; // 0x1c
};
#endif // NULLSOUNDGROUP_H