summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/XAudio2Stream.cpp
diff options
context:
space:
mode:
authorlioncash <mathew1900@hotmail.com>2013-03-19 21:51:12 -0400
committerlioncash <mathew1900@hotmail.com>2013-03-19 21:51:12 -0400
commitedd9d0e0ef6898a0528ac6389e93e9fca6132ff6 (patch)
tree9e3884aa1b3db3499806995adf6627d05308b8da /Source/Core/AudioCommon/Src/XAudio2Stream.cpp
parent0e3d8e2e9f1b3eab593b09be986c4ff12a0221e2 (diff)
Clean up more space/tab mismatches in AudioCommon, Common, and VideoCommon.
Not planning to touch Core since it's the most actively changed part of the project.
Diffstat (limited to 'Source/Core/AudioCommon/Src/XAudio2Stream.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/XAudio2Stream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/AudioCommon/Src/XAudio2Stream.cpp b/Source/Core/AudioCommon/Src/XAudio2Stream.cpp
index f60842d960..0537f183c6 100644
--- a/Source/Core/AudioCommon/Src/XAudio2Stream.cpp
+++ b/Source/Core/AudioCommon/Src/XAudio2Stream.cpp
@@ -95,10 +95,10 @@ void StreamingVoiceContext::OnBufferEnd(void* context)
if (!m_source_voice || !context)
return;
-
+
//m_sound_sync_event->Wait(); // sync
//m_sound_sync_event->Spin(); // or tight sync
-
+
m_mixer->Mix(static_cast<short*>(context), SAMPLES_PER_BUFFER);
SubmitBuffer(static_cast<BYTE*>(context));
}
@@ -183,6 +183,6 @@ void XAudio2::Stop()
m_mastering_voice->DestroyVoice();
m_mastering_voice = nullptr;
}
-
+
m_xaudio2.reset(); // release interface
}