aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/jack.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/jack.cpp
parent360330b2add6cf10776c38aaa186b0892b54e300 (diff)
Clean up some exception messages and avoid duplicate log messages
Diffstat (limited to 'alc/backends/jack.cpp')
-rw-r--r--alc/backends/jack.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/alc/backends/jack.cpp b/alc/backends/jack.cpp
index 7c3f1822..2a22ed84 100644
--- a/alc/backends/jack.cpp
+++ b/alc/backends/jack.cpp
@@ -336,11 +336,9 @@ void JackPlayback::open(const ALCchar *name)
jack_status_t status;
mClient = jack_client_open(client_name, ClientOptions, &status, nullptr);
if(mClient == nullptr)
- {
- ERR("jack_client_open() failed, status = 0x%02x\n", status);
- throw al::backend_exception{ALC_INVALID_VALUE, "Failed to connect to JACK server: 0x%02x",
+ throw al::backend_exception{ALC_INVALID_VALUE, "Failed to open client connection: 0x%02x",
status};
- }
+
if((status&JackServerStarted))
TRACE("JACK server started\n");
if((status&JackNameNotUnique))