On Thu, Oct 5, 2023 at 3:39 PM BALATON Zoltan <bala...@eik.bme.hu> wrote: > >> QEMU does not create default audio backends anymore if any of the > >> ``-audiodev``, ``-audio`` or ``-nodefaults`` options are used on the > >> command line. > > > > Maybe this needs further updating because -audio can now define the default > > and is what should be used instead of -audiodev but this is not clear from > > this documentation. > > And while at it, maybe also mention machine audiodev property here as a > way to set audiodev of embedded devices.
Sure, here is my next attempt: =================== Using ``-audiodev`` to define the default audio backend (removed in 8.2) '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' If no audiodev property is specified, previous versions would use the first ``-audiodev`` command line option as a fallback. Starting with version 8.2, audio backends created with ``-audiodev`` will only be used by clients (sound cards, machines with embedded sound hardware, VNC) that refer to it in an ``audiodev=`` property. In order to configure a default audio backend, use the ``-audio`` command line option without specifying a ``model``; while previous versions of QEMU required a model, starting with version 8.2 QEMU does not require a model and will not create any sound card in this case. Note that the default audio backend must be configured on the command line if the ``-nodefaults`` options is used. ===================