give the audio thread a name (this doesn't really matter, but it was bugging me)

This commit is contained in:
nitsuja 2011-12-18 02:25:50 -08:00
parent d44fc0c820
commit d00b719966
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ bool DSound::WriteDataToBuffer(DWORD dwOffset, // Our own write
// The audio thread.
void DSound::SoundLoop()
{
Common::SetCurrentThreadName("Audio thread");
currentPos = 0;
lastPos = 0;
dsBuffer->Play(0, 0, DSBPLAY_LOOPING);