mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(sound): add SESoundInternal
This commit is contained in:
parent
28095be341
commit
74289ed6b2
@ -1,6 +1,7 @@
|
|||||||
#ifndef SOUND_SE_SOUND_HPP
|
#ifndef SOUND_SE_SOUND_HPP
|
||||||
#define SOUND_SE_SOUND_HPP
|
#define SOUND_SE_SOUND_HPP
|
||||||
|
|
||||||
|
#include "sound/SESoundInternal.hpp"
|
||||||
#include <fmod.hpp>
|
#include <fmod.hpp>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
@ -14,6 +15,12 @@ class SESound {
|
|||||||
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 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
|
||||||
|
SESoundInternal* m_internal = nullptr;
|
||||||
|
|
||||||
|
// Member functions
|
||||||
|
// TODO
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
24
src/sound/SESoundInternal.hpp
Normal file
24
src/sound/SESoundInternal.hpp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#ifndef SOUND_SE_SOUND_INTERNAL_HPP
|
||||||
|
#define SOUND_SE_SOUND_INTERNAL_HPP
|
||||||
|
|
||||||
|
class SESoundInternal {
|
||||||
|
public:
|
||||||
|
// TODO
|
||||||
|
};
|
||||||
|
|
||||||
|
class SEDiskSound : public SESoundInternal {
|
||||||
|
public:
|
||||||
|
// TODO
|
||||||
|
};
|
||||||
|
|
||||||
|
class SEMemorySound : public SESoundInternal {
|
||||||
|
public:
|
||||||
|
// TODO
|
||||||
|
};
|
||||||
|
|
||||||
|
class SEStreamedSound : public SESoundInternal {
|
||||||
|
public:
|
||||||
|
// TODO
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
Loading…
Reference in New Issue
Block a user