Update AudioSettings.h

This commit is contained in:
Frank-74 2017-10-13 01:53:36 +01:00 committed by GitHub
parent 96d4247013
commit ee46ffb2cd
1 changed files with 6 additions and 6 deletions

View File

@ -19,8 +19,8 @@ public:
inline bool AudioEnabled(void) const { return m_AudioEnabled; } inline bool AudioEnabled(void) const { return m_AudioEnabled; }
inline bool debugger_enabled(void) const { return m_debugger_enabled; } inline bool debugger_enabled(void) const { return m_debugger_enabled; }
inline uint32_t GetVolume(void) const { return m_Volume; } inline uint32_t GetVolume(void) const { return m_Volume; }
inline uint32_t BufferDivider(void) const { return m_BufferDivider; } inline bool TinyBuffer(void) const { return m_TinyBuffer; }
inline uint32_t BufferLevel(void) const { return m_BufferLevel; } inline bool FPSBuffer(void) const { return m_FPSBuffer; }
inline bool SyncAudio(void) const { return m_SyncAudio; } inline bool SyncAudio(void) const { return m_SyncAudio; }
inline bool FullSpeed(void) const { return m_FullSpeed; } inline bool FullSpeed(void) const { return m_FullSpeed; }
inline bool FlushLogs(void) const { return m_FlushLogs; } inline bool FlushLogs(void) const { return m_FlushLogs; }
@ -28,8 +28,8 @@ public:
void SetAudioEnabled(bool Enabled); void SetAudioEnabled(bool Enabled);
void SetVolume(uint32_t Volume); void SetVolume(uint32_t Volume);
void SetBufferDivider(uint32_t BufferDivider); void SetTinyBuffer(bool TinyBuffer);
void SetBufferLevel(uint32_t BufferLevel); void SetFPSBuffer(bool FPSBuffer);
void ReadSettings(); void ReadSettings();
private: private:
@ -59,8 +59,8 @@ private:
bool m_advanced_options; bool m_advanced_options;
bool m_debugger_enabled; bool m_debugger_enabled;
uint32_t m_Volume; uint32_t m_Volume;
uint32_t m_BufferDivider; bool m_TinyBuffer;
uint32_t m_BufferLevel; bool m_FPSBuffer;
bool m_SyncAudio; bool m_SyncAudio;
bool m_FullSpeed; bool m_FullSpeed;
}; };