]> git.proxmox.com Git - mirror_qemu.git/commit
audio: do not use first -audiodev as default audio device
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Oct 2023 15:09:36 +0000 (17:09 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 8 Oct 2023 19:08:27 +0000 (21:08 +0200)
commit22f84d4f7882d881a5f8574430da62c7ce5a0731
tree9f0b839ca67628df437236ac3853739f7293be37
parent1ebdbff4c37d820b6a97d4c6f24aa38dae302b51
audio: do not use first -audiodev as default audio device

It is now possible to specify the options for the default audio device
using -audio, so there is no need anymore to use a fake -audiodev option.

Remove the fall back to QTAILQ_FIRST(&audio_states), instead remember the
AudioState that was created from default_audiodevs and use that one.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
audio/audio.c
docs/about/deprecated.rst
docs/about/removed-features.rst