summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/OpenALStream.cpp
diff options
context:
space:
mode:
authornitsuja <nitsuja-@hotmail.com>2011-12-30 20:22:48 -0800
committernitsuja <nitsuja-@hotmail.com>2012-01-01 14:28:19 -0800
commit6f1b2d7748c2ebe5db7e17d0308f4106d04e71d4 (patch)
tree97a5ebec24126ddac3ebc1050cae995c7d43f101 /Source/Core/AudioCommon/Src/OpenALStream.cpp
parentba545ec1e9cf9f4457b7b2424b5187be277bd49f (diff)
name all audio threads (that I know how to) for debugging, as suggested in response to revision d00b719966ed.
Diffstat (limited to 'Source/Core/AudioCommon/Src/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/OpenALStream.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/AudioCommon/Src/OpenALStream.cpp b/Source/Core/AudioCommon/Src/OpenALStream.cpp
index 91d2b3270c..99220f0ed2 100644
--- a/Source/Core/AudioCommon/Src/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/Src/OpenALStream.cpp
@@ -121,6 +121,8 @@ void OpenALStream::Clear(bool mute)
void OpenALStream::SoundLoop()
{
+ Common::SetCurrentThreadName("Audio thread - openal");
+
ALenum err;
u32 ulFrequency = m_mixer->GetSampleRate();