mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Reduce visibility of engine sound members and methods
This commit is contained in:
parent
757d7d0068
commit
b4a82b1b87
|
@ -16,14 +16,9 @@ class CSound : public IEngineSound
|
||||||
bool m_SoundEnabled;
|
bool m_SoundEnabled;
|
||||||
SDL_AudioDeviceID m_Device;
|
SDL_AudioDeviceID m_Device;
|
||||||
|
|
||||||
public:
|
|
||||||
IEngineGraphics *m_pGraphics;
|
IEngineGraphics *m_pGraphics;
|
||||||
IStorage *m_pStorage;
|
IStorage *m_pStorage;
|
||||||
|
|
||||||
int Init() override;
|
|
||||||
|
|
||||||
int Update() override;
|
|
||||||
int Shutdown() override;
|
|
||||||
int AllocID();
|
int AllocID();
|
||||||
|
|
||||||
static void RateConvert(int SampleID);
|
static void RateConvert(int SampleID);
|
||||||
|
@ -32,6 +27,11 @@ public:
|
||||||
static int DecodeWV(int SampleID, const void *pData, unsigned DataSize);
|
static int DecodeWV(int SampleID, const void *pData, unsigned DataSize);
|
||||||
static int DecodeOpus(int SampleID, const void *pData, unsigned DataSize);
|
static int DecodeOpus(int SampleID, const void *pData, unsigned DataSize);
|
||||||
|
|
||||||
|
public:
|
||||||
|
int Init() override;
|
||||||
|
int Update() override;
|
||||||
|
int Shutdown() override;
|
||||||
|
|
||||||
bool IsSoundEnabled() override { return m_SoundEnabled; }
|
bool IsSoundEnabled() override { return m_SoundEnabled; }
|
||||||
|
|
||||||
int LoadWV(const char *pFilename) override;
|
int LoadWV(const char *pFilename) override;
|
||||||
|
|
Loading…
Reference in a new issue