aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/dsound.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-08-01 16:20:28 -0700
committerChris Robinson <[email protected]>2010-08-01 16:20:28 -0700
commitfe6e73ede9c4137992e2945bf4db0d7ab897208b (patch)
treef41d7d6bf96e7dc3cffc15d51821fbe5e24bafff /Alc/dsound.c
parent8dab4c418cd95a9ceb7ecf3211c1cf97201b7b1e (diff)
Be a bit more verbose when a device fails to open
Diffstat (limited to 'Alc/dsound.c')
-rw-r--r--Alc/dsound.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/dsound.c b/Alc/dsound.c
index f513f2ef..5779e5f7 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -296,6 +296,7 @@ static ALCboolean DSoundOpenPlayback(ALCdevice *device, const ALCchar *deviceNam
if(pData->lpDS)
IDirectSound_Release(pData->lpDS);
free(pData);
+ AL_PRINT("Device init failed: 0x%08lx\n", hr);
return ALC_FALSE;
}