forked from isledecomp/racers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnullsoundinstance.h
More file actions
39 lines (28 loc) · 1.12 KB
/
Copy pathnullsoundinstance.h
File metadata and controls
39 lines (28 loc) · 1.12 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
#ifndef NULLSOUNDINSTANCE_H
#define NULLSOUNDINSTANCE_H
#include "gollist.h"
#include "types.h"
class SoundGroup;
// VTABLE: LEGORACERS 0x004afd30
// SIZE 0x10
class NullSoundInstance : public GolListLink {
public:
NullSoundInstance();
virtual void Play(LegoBool32 p_loop); // vtable+0x00
virtual void Stop(); // vtable+0x04
// FUNCTION: LEGORACERS 0x0044e7e0 FOLDED
virtual LegoBool32 IsPlaying() { return FALSE; } // vtable+0x08
virtual void SetVolume(LegoFloat p_volume); // vtable+0x0c
virtual void SetPan(LegoFloat p_pan); // vtable+0x10
virtual void SetFrequencyScale(LegoFloat p_scale); // vtable+0x14
virtual void SetPriority(LegoS32 p_priority); // vtable+0x18
// FUNCTION: LEGORACERS 0x0041b5c0 FOLDED
virtual SoundGroup* GetSoundGroup() { return m_soundGroup; } // vtable+0x1c
virtual ~NullSoundInstance(); // vtable+0x20
void SetSoundGroup(SoundGroup* p_soundGroup) { m_soundGroup = p_soundGroup; }
// SYNTHETIC: LEGORACERS 0x0041c3f0
// NullSoundInstance::`scalar deleting destructor'
private:
SoundGroup* m_soundGroup; // 0x0c
};
#endif // NULLSOUNDINSTANCE_H