jackaudio: avoid that the client name contains the word (NULL)
commit2833d697b9a418e2b9735e38ad4b33ae86f84739
authorVolker Rümelin <vr_qemu@t-online.de>
Mon, 17 May 2021 19:46:04 +0000 (17 21:46 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 17 Jun 2021 09:54:09 +0000 (17 11:54 +0200)
tree7406673b61325b0c1808244e067d669b080789f1
parent37a54d054f5aac43cb5721c68954b8b76d0db12d
jackaudio: avoid that the client name contains the word (NULL)

Currently with jackaudio client name and qemu guest name unset,
the JACK client names are out-(NULL) and in-(NULL). These names
are user visible in the patch bay. Replace the function call to
qemu_get_vm_name() with a call to audio_application_name() which
replaces NULL with "qemu" to have more descriptive names.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20210517194604.2545-4-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/jackaudio.c