mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:35:52 +00:00
dsound: Set name of internal threads.
This commit is contained in:
parent
8f81273904
commit
28b6acd155
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue