diff options
author | David Robillard <d@drobilla.net> | 2018-09-22 20:48:32 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-22 20:48:32 +0200 |
commit | c5b75a160cdae33c08d32ea82486ae599a594712 (patch) | |
tree | 6691bc4c307361dbc8bb8ee4f18412b87a65d0cf | |
parent | 387336f8c9028bbba715bfb15517890d4a740eb3 (diff) | |
download | jalv-c5b75a160cdae33c08d32ea82486ae599a594712.tar.gz jalv-c5b75a160cdae33c08d32ea82486ae599a594712.tar.bz2 jalv-c5b75a160cdae33c08d32ea82486ae599a594712.zip |
Print real JACK name instead of requested name
-rw-r--r-- | src/jack.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |