Commit 28b6acd1 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

dsound: Set name of internal threads.

parent 8f812739
......@@ -951,6 +951,8 @@ static DWORD WINAPI DSOUND_capture_thread(void *user)
DWORD ret, wait_ms;
REFERENCE_TIME period;
SetThreadDescription(GetCurrentThread(), L"wine_dsound_capture");
hr = IAudioClient_GetDevicePeriod(buffer->device->client, &period, NULL);
if(FAILED(hr)){
WARN("GetDevicePeriod failed: %08lx\n", hr);
......
......@@ -783,6 +783,7 @@ DWORD CALLBACK DSOUND_mixthread(void *p)
{
DirectSoundDevice *dev = p;
TRACE("(%p)\n", dev);
SetThreadDescription(GetCurrentThread(), L"wine_dsound_mixer");
while (dev->ref) {
DWORD ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment