From 4c6930d36c9daa098ee58898f62c427d8b020d26 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 9 Aug 2015 21:37:34 -0400 Subject: AudioCommon: Remove unused code from XAudio streams --- Source/Core/AudioCommon/XAudio2Stream.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'Source/Core/AudioCommon/XAudio2Stream.cpp') diff --git a/Source/Core/AudioCommon/XAudio2Stream.cpp b/Source/Core/AudioCommon/XAudio2Stream.cpp index 6e8762b4e9..d5e0595802 100644 --- a/Source/Core/AudioCommon/XAudio2Stream.cpp +++ b/Source/Core/AudioCommon/XAudio2Stream.cpp @@ -210,21 +210,6 @@ void XAudio2::SetVolume(int volume) m_mastering_voice->SetVolume(m_volume); } -void XAudio2::Update() -{ - //m_sound_sync_event.Set(); - - //static int xi = 0; - //if (100000 == ++xi) - //{ - // xi = 0; - // XAUDIO2_PERFORMANCE_DATA perfData; - // pXAudio2->GetPerformanceData(&perfData); - // NOTICE_LOG(DSPHLE, "XAudio2 latency (samples): %i", perfData.CurrentLatencyInSamples); - // NOTICE_LOG(DSPHLE, "XAudio2 total glitches: %i", perfData.GlitchesSinceEngineStarted); - //} -} - void XAudio2::Clear(bool mute) { m_muted = mute; -- cgit v1.2.3 From cc036ca86cdaf709e01221975da734cb64d54a94 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 26 Sep 2015 17:13:07 -0400 Subject: Common: Remove other Common prefixed headers from Common.h --- Source/Core/AudioCommon/XAudio2Stream.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/AudioCommon/XAudio2Stream.cpp') diff --git a/Source/Core/AudioCommon/XAudio2Stream.cpp b/Source/Core/AudioCommon/XAudio2Stream.cpp index d5e0595802..01acb2fc26 100644 --- a/Source/Core/AudioCommon/XAudio2Stream.cpp +++ b/Source/Core/AudioCommon/XAudio2Stream.cpp @@ -6,6 +6,8 @@ #include "AudioCommon/AudioCommon.h" #include "AudioCommon/XAudio2Stream.h" #include "Common/Event.h" +#include "Common/MsgHandler.h" +#include "Common/Logging/Log.h" #ifndef XAUDIO2_DLL #error You are building this module against the wrong version of DirectX. You probably need to remove DXSDK_DIR from your include path. -- cgit v1.2.3