aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/dsound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends/dsound.cpp')
-rw-r--r--alc/backends/dsound.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/alc/backends/dsound.cpp b/alc/backends/dsound.cpp
index d48b74e2..005c9584 100644
--- a/alc/backends/dsound.cpp
+++ b/alc/backends/dsound.cpp
@@ -341,10 +341,7 @@ void DSoundPlayback::open(const ALCchar *name)
if(SUCCEEDED(hr))
hr = mDS->SetCooperativeLevel(GetForegroundWindow(), DSSCL_PRIORITY);
if(FAILED(hr))
- {
- ERR("Device init failed: 0x%08lx\n", hr);
throw al::backend_exception{ALC_INVALID_VALUE, "Device init failed: 0x%08lx", hr};
- }
mDevice->DeviceName = name;
}
@@ -753,8 +750,6 @@ void DSoundCapture::open(const ALCchar *name)
if(FAILED(hr))
{
- ERR("Device init failed: 0x%08lx\n", hr);
-
mRing = nullptr;
if(mDSCbuffer)
mDSCbuffer->Release();