]> git.proxmox.com Git - mirror_qemu.git/commit
audio: fix in.voices test
authorHelge Konetzka <hk@zapateado.de>
Wed, 12 Oct 2022 11:49:24 +0000 (13:49 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Oct 2022 18:36:17 +0000 (20:36 +0200)
commita7b7802bfe971b1b33cf85b328a521333e68ce97
treea3127ce114f05bd9911191de3516054214f361d4
parentdbccb1a5a1b5b14b78ea6b27bb562e8cd0a8f317
audio: fix in.voices test

Calling qemu with valid -audiodev ...,in.voices=0 results in an obsolete
warning:
  audio: Bogus number of capture voices 0, setting to 0
This patch fixes the in.voices test.

Signed-off-by: Helge Konetzka <hk@zapateado.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20221012114925.5084-2-hk@zapateado.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/audio.c