[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/9] audio: make sound cards require the audiodev property
From: |
Paolo Bonzini |
Subject: |
[PATCH 0/9] audio: make sound cards require the audiodev property |
Date: |
Fri, 22 Sep 2023 11:44:50 +0200 |
This is the remaining part of Martin's patches to remove the deprecations
connected to audio backend configuration. With these patches, all sound
cards have to be configured with an audio backend; only embedded cards
get the luxury of a default backend that emits or records no audio at all.
Fortunately, this is easy to do with the existing "-audio" option.
Apart from some rebasing changes, the changes are:
- the "-M" option for the embedded audiodev is only added to machines
that need it, and renamed from "default-audiodev" to just "audiodev".
- the embedded audiodev is also accessible by specifying "-audio DRIVER"
without a model
- the audiodev option is also configurable with -readconfig
- MIPS fuloong2e and PPC pegasos2 need changes in order to expose
the embedded audiodev, too
Paolo
Based-on: <20230922093126.264016-1-pbonzini@redhat.com>
Martin Kletzander (6):
audio: Add easy dummy audio initialiser
Introduce machine property "audiodev"
hw/arm: Support machine-default audiodev with fallback
hw/ppc: Support machine-default audiodev with fallback
audio: Make AUD_register_card fallible and require audiodev=
audio: Be more strict during audio backend initialisation
Paolo Bonzini (3):
vl: support -audio BACKEND without model
vt82c686: Support machine-default audiodev with fallback
vl: recognize audiodev groups in configuration files
audio/audio.c | 177 +++++++++++----------------
audio/audio.h | 4 +-
docs/about/deprecated.rst | 6 -
docs/about/removed-features.rst | 11 +-
docs/config/q35-emulated.cfg | 4 +
docs/config/q35-virtio-graphical.cfg | 4 +
hw/arm/integratorcp.c | 10 +-
hw/arm/musicpal.c | 11 +-
hw/arm/nseries.c | 4 +
hw/arm/omap2.c | 10 +-
hw/arm/palm.c | 2 +
hw/arm/realview.c | 11 ++
hw/arm/spitz.c | 12 +-
hw/arm/versatilepb.c | 7 ++
hw/arm/vexpress.c | 4 +
hw/arm/xlnx-zcu102.c | 5 +
hw/arm/z2.c | 14 ++-
hw/audio/ac97.c | 6 +-
hw/audio/adlib.c | 6 +-
hw/audio/cs4231a.c | 6 +-
hw/audio/es1370.c | 5 +-
hw/audio/gus.c | 6 +-
hw/audio/hda-codec.c | 5 +-
hw/audio/lm4549.c | 8 +-
hw/audio/pcspk.c | 4 +-
hw/audio/sb16.c | 6 +-
hw/audio/via-ac97.c | 6 +-
hw/audio/wm8750.c | 5 +-
hw/core/machine.c | 28 +++++
hw/display/xlnx_dp.c | 6 +-
hw/input/tsc210x.c | 10 +-
hw/isa/vt82c686.c | 2 +
hw/mips/fuloong2e.c | 12 +-
hw/ppc/pegasos2.c | 10 +-
hw/ppc/prep.c | 6 +
hw/ppc/sam460ex.c | 2 +
hw/usb/dev-audio.c | 5 +-
include/hw/boards.h | 7 ++
softmmu/vl.c | 25 +++-
39 files changed, 315 insertions(+), 157 deletions(-)
--
2.41.0
- [PATCH 0/9] audio: make sound cards require the audiodev property,
Paolo Bonzini <=
- [PATCH 1/9] audio: Add easy dummy audio initialiser, Paolo Bonzini, 2023/09/22
- [PATCH 3/9] vl: support -audio BACKEND without model, Paolo Bonzini, 2023/09/22
- [PATCH 5/9] hw/ppc: Support machine-default audiodev with fallback, Paolo Bonzini, 2023/09/22
- [PATCH 2/9] Introduce machine property "audiodev", Paolo Bonzini, 2023/09/22
- [PATCH 4/9] hw/arm: Support machine-default audiodev with fallback, Paolo Bonzini, 2023/09/22
- [PATCH 7/9] vl: recognize audiodev groups in configuration files, Paolo Bonzini, 2023/09/22
- [PATCH 8/9] audio: Make AUD_register_card fallible and require audiodev=, Paolo Bonzini, 2023/09/22
- [PATCH 9/9] audio: Be more strict during audio backend initialisation, Paolo Bonzini, 2023/09/22