aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/wasapi.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-10-08 05:44:38 -0700
committerChris Robinson <[email protected]>2019-10-08 05:44:38 -0700
commit7726a06d26e59dc6a8e109af2e268de878c4f606 (patch)
tree3fdea7f120e21def8e52b89d335f63aa38372497 /alc/backends/wasapi.cpp
parent360330b2add6cf10776c38aaa186b0892b54e300 (diff)
Clean up some exception messages and avoid duplicate log messages
Diffstat (limited to 'alc/backends/wasapi.cpp')
-rw-r--r--alc/backends/wasapi.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp
index 181518d0..2c4fe130 100644
--- a/alc/backends/wasapi.cpp
+++ b/alc/backends/wasapi.cpp
@@ -762,7 +762,6 @@ void WasapiPlayback::open(const ALCchar *name)
mDevId.clear();
- ERR("Device init failed: 0x%08lx\n", hr);
throw al::backend_exception{ALC_INVALID_VALUE, "Device init failed: 0x%08lx", hr};
}
}
@@ -1336,7 +1335,6 @@ void WasapiCapture::open(const ALCchar *name)
mDevId.clear();
- ERR("Device init failed: 0x%08lx\n", hr);
throw al::backend_exception{ALC_INVALID_VALUE, "Device init failed: 0x%08lx", hr};
}