mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(sound): add SESound::IsInitialized
This commit is contained in:
parent
e92aa20b58
commit
7286ecd244
@ -160,6 +160,10 @@ void SESound::Init(int32_t maxChannels, int32_t* a2, int32_t enableReverb, int32
|
|||||||
LOG_WRITE(FMOD_OK, " ");
|
LOG_WRITE(FMOD_OK, " ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int32_t SESound::IsInitialized() {
|
||||||
|
return SESound::s_Initialized == 1;
|
||||||
|
}
|
||||||
|
|
||||||
void SESound::Log_Write(int32_t line, const char* file, FMOD_RESULT result, const char* fmt, ...) {
|
void SESound::Log_Write(int32_t line, const char* file, FMOD_RESULT result, const char* fmt, ...) {
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,6 +14,7 @@ class SESound {
|
|||||||
// Static functions
|
// Static functions
|
||||||
static FMOD::SoundGroup* CreateSoundGroup(const char* name, int32_t maxAudible);
|
static FMOD::SoundGroup* CreateSoundGroup(const char* name, int32_t maxAudible);
|
||||||
static void Init(int32_t maxChannels, int32_t (*a2), int32_t enableReverb, int32_t enableSoftwareHRTF, int32_t* numChannels, int32_t* outputDriverIndex, const char* outputDriverName, void (*a8), int32_t a9);
|
static void Init(int32_t maxChannels, int32_t (*a2), int32_t enableReverb, int32_t enableSoftwareHRTF, int32_t* numChannels, int32_t* outputDriverIndex, const char* outputDriverName, void (*a8), int32_t a9);
|
||||||
|
static int32_t IsInitialized();
|
||||||
static void Log_Write(int32_t line, const char* file, FMOD_RESULT result, const char* fmt, ...);
|
static void Log_Write(int32_t line, const char* file, FMOD_RESULT result, const char* fmt, ...);
|
||||||
|
|
||||||
// Member variables
|
// Member variables
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user