mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(sound): add SESound::s_UniqueID
This commit is contained in:
parent
75d6d63afa
commit
62257ff89b
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
int32_t SESound::s_Initialized;
|
int32_t SESound::s_Initialized;
|
||||||
FMOD::System* SESound::s_pGameSystem;
|
FMOD::System* SESound::s_pGameSystem;
|
||||||
|
uint32_t SESound::s_UniqueID;
|
||||||
|
|
||||||
void* FSoundAllocCallback(uint32_t size, FMOD_MEMORY_TYPE type, const char* sourcestr) {
|
void* FSoundAllocCallback(uint32_t size, FMOD_MEMORY_TYPE type, const char* sourcestr) {
|
||||||
return SMemAlloc(size, "FMod", 0, 0x8);
|
return SMemAlloc(size, "FMod", 0, 0x8);
|
||||||
|
|||||||
@ -10,6 +10,7 @@ class SESound {
|
|||||||
// Static variables
|
// Static variables
|
||||||
static int32_t s_Initialized;
|
static int32_t s_Initialized;
|
||||||
static FMOD::System* s_pGameSystem;
|
static FMOD::System* s_pGameSystem;
|
||||||
|
static uint32_t s_UniqueID;
|
||||||
|
|
||||||
// Static functions
|
// Static functions
|
||||||
static FMOD::SoundGroup* CreateSoundGroup(const char* name, int32_t maxAudible);
|
static FMOD::SoundGroup* CreateSoundGroup(const char* name, int32_t maxAudible);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user