]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
audio/jack: remove invalid set of input support bool
authorGeoffrey McRae <geoff@hostfission.com>
Sat, 13 Jun 2020 04:05:15 +0000 (14:05 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 17 Jun 2020 12:44:51 +0000 (14:44 +0200)
Initial code for JACK did not support audio input and as such this
boolean was set to let QEMU know, however JACK ended up including input
support making this invalid. Further investigation shows it was invalid
to set it in the first instance anyway due to a failure on my part
understand properly what this was for when the audodev was initially
developed.

Signed-off-by: Geoffrey McRae <geoff@hostfission.com>
Message-id: 20200613040518.38172-4-geoff@hostfission.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/jackaudio.c

index fb8efd7af7c7a7243844684b2b6f002541c5c31a..58c73444977ed771e05f10769b6369179eeadd65 100644 (file)
@@ -607,9 +607,6 @@ static int qjack_thread_creator(jack_native_thread_t *thread,
 static void *qjack_init(Audiodev *dev)
 {
     assert(dev->driver == AUDIODEV_DRIVER_JACK);
-
-    dev->u.jack.has_in = false;
-
     return dev;
 }