diff options
| author | Stevoisiak <Stevoisiak@gmail.com> | 2014-11-13 21:28:27 -0500 |
|---|---|---|
| committer | Stevoisiak <Stevoisiak@gmail.com> | 2014-11-13 22:42:18 -0500 |
| commit | b25e1a2eb4fd20ba84103549a59ea4c4a8639641 (patch) | |
| tree | 565229c96867d4c595bcf64a94b704c825c2ea84 /Source/Core/AudioCommon | |
| parent | 5fb94230cd6fab9b41420d51e27cd04a64f3dcaf (diff) | |
Various formatting and consistency fixes
Diffstat (limited to 'Source/Core/AudioCommon')
| -rw-r--r-- | Source/Core/AudioCommon/SoundStream.h | 8 | ||||
| -rw-r--r-- | Source/Core/AudioCommon/XAudio2Stream.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/AudioCommon/XAudio2_7Stream.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/AudioCommon/aldlist.h | 12 |
4 files changed, 12 insertions, 12 deletions
diff --git a/Source/Core/AudioCommon/SoundStream.h b/Source/Core/AudioCommon/SoundStream.h index e977180280..ff30f36f37 100644 --- a/Source/Core/AudioCommon/SoundStream.h +++ b/Source/Core/AudioCommon/SoundStream.h @@ -12,7 +12,7 @@ class SoundStream { protected: - CMixer *m_mixer; + CMixer* m_mixer; // We set this to shut down the sound thread. // 0=keep playing, 1=stop playing NOW. volatile int threadData; @@ -21,11 +21,11 @@ protected: bool m_muted; public: - SoundStream(CMixer *mixer) : m_mixer(mixer), threadData(0), m_logAudio(false), m_muted(false) {} + SoundStream(CMixer* mixer) : m_mixer(mixer), threadData(0), m_logAudio(false), m_muted(false) {} virtual ~SoundStream() { delete m_mixer; } static bool isValid() { return false; } - virtual CMixer *GetMixer() const { return m_mixer; } + virtual CMixer* GetMixer() const { return m_mixer; } virtual bool Start() { return false; } virtual void SetVolume(int) {} virtual void SoundLoop() {} @@ -36,7 +36,7 @@ public: virtual void StartLogAudio(const std::string& filename) { - if (! m_logAudio) + if (!m_logAudio) { m_logAudio = true; g_wave_writer.Start(filename, m_mixer->GetSampleRate()); diff --git a/Source/Core/AudioCommon/XAudio2Stream.cpp b/Source/Core/AudioCommon/XAudio2Stream.cpp index 81af045300..d0446cb4bb 100644 --- a/Source/Core/AudioCommon/XAudio2Stream.cpp +++ b/Source/Core/AudioCommon/XAudio2Stream.cpp @@ -174,7 +174,7 @@ bool XAudio2::Start() { HRESULT hr; - // callback doesn't seem to run on a specific cpu anyways + // callback doesn't seem to run on a specific CPU anyways IXAudio2* xaudptr; if (FAILED(hr = ((XAudio2Create_t)PXAudio2Create)(&xaudptr, 0, XAUDIO2_DEFAULT_PROCESSOR))) { diff --git a/Source/Core/AudioCommon/XAudio2_7Stream.cpp b/Source/Core/AudioCommon/XAudio2_7Stream.cpp index cce45d7942..ac75e7c433 100644 --- a/Source/Core/AudioCommon/XAudio2_7Stream.cpp +++ b/Source/Core/AudioCommon/XAudio2_7Stream.cpp @@ -162,7 +162,7 @@ bool XAudio2_7::Start() { HRESULT hr; - // callback doesn't seem to run on a specific cpu anyways + // callback doesn't seem to run on a specific CPU anyways IXAudio2* xaudptr; if (FAILED(hr = XAudio2Create(&xaudptr, 0, XAUDIO2_DEFAULT_PROCESSOR))) { diff --git a/Source/Core/AudioCommon/aldlist.h b/Source/Core/AudioCommon/aldlist.h index c24ce92651..ce8006fcc0 100644 --- a/Source/Core/AudioCommon/aldlist.h +++ b/Source/Core/AudioCommon/aldlist.h @@ -28,17 +28,17 @@ private: s32 filterIndex; public: - ALDeviceList (); - ~ALDeviceList (); + ALDeviceList(); + ~ALDeviceList(); s32 GetNumDevices(); - char *GetDeviceName(s32 index); - void GetDeviceVersion(s32 index, s32 *major, s32 *minor); + char* GetDeviceName(s32 index); + void GetDeviceVersion(s32 index, s32* major, s32* minor); u32 GetMaxNumSources(s32 index); - bool IsExtensionSupported(s32 index, char *szExtName); + bool IsExtensionSupported(s32 index, char* szExtName); s32 GetDefaultDevice(); void FilterDevicesMinVer(s32 major, s32 minor); void FilterDevicesMaxVer(s32 major, s32 minor); - void FilterDevicesExtension(char *szExtName); + void FilterDevicesExtension(char* szExtName); void ResetFilters(); s32 GetFirstFilteredDevice(); s32 GetNextFilteredDevice(); |
