From: Geoffrey McRae Date: Sat, 13 Jun 2020 04:05:15 +0000 (+1000) Subject: audio/jack: remove invalid set of input support bool X-Git-Tag: v5.1.0-rc0~59^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8f0f218d4212598eab6c824754cfc40d4961ab7;p=thirdparty%2Fqemu.git audio/jack: remove invalid set of input support bool 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 Message-id: 20200613040518.38172-4-geoff@hostfission.com Signed-off-by: Gerd Hoffmann --- diff --git a/audio/jackaudio.c b/audio/jackaudio.c index fb8efd7af7c..58c73444977 100644 --- a/audio/jackaudio.c +++ b/audio/jackaudio.c @@ -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; }