aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jack.c b/src/jack.c
index a763040..7abd42d 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -334,7 +334,6 @@ jalv_backend_init(Jalv* jalv)
if (strlen(jack_name) >= (unsigned)jack_client_name_size() - 1) {
jack_name[jack_client_name_size() - 1] = '\0';
}
- printf("JACK Name: %s\n", jack_name);
/* Connect to JACK */
#ifdef JALV_JACK_SESSION
@@ -360,6 +359,8 @@ jalv_backend_init(Jalv* jalv)
return NULL;
}
+ printf("JACK Name: %s\n", jack_get_client_name(client));
+
/* Set audio engine properties */
jalv->sample_rate = jack_get_sample_rate(client);
jalv->block_length = jack_get_buffer_size(client);