On 29/04/21 11:59, Markus Armbruster wrote:
Gerd Hoffmann:
Creating sound card devices using ``-soundhw`` (since 5.1)
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Sound card devices should be created using ``-device`` instead. The
names are the same for most devices. The exceptions are ``hda`` which
needs two devices (``-device intel-hda -device hda-duplex``) and
``pcspk`` which can be activated using ``-machine
pcspk-audiodev=<name>``.
For this to go away, I'd rather have something like the -nic option that
provides an easy way to set up the front end and back end.
In other words you would do something like -audiohw
<audiodev-args>,model=xxx and it gets desugared automatically to either
-audiodev <audiodev-args>,id=foo -device devname,audiodev=xxx
or
-audiodev <audiodev-args>,id=foo -M propname=foo
Paolo