[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/7] audio: do not use first -audiodev as default audio devic
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 5/7] audio: do not use first -audiodev as default audio device |
Date: |
Thu, 5 Oct 2023 17:09:59 +0200 |
On Thu, Oct 5, 2023 at 3:39 PM BALATON Zoltan <balaton@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.
===================
[PATCH 2/7] audio: disable default backends if -audio/-audiodev is used, Paolo Bonzini, 2023/10/05
[PATCH 3/7] audio: extract audio_define_default, Paolo Bonzini, 2023/10/05
[PATCH 4/7] audio: extend -audio to allow creating a default backend, Paolo Bonzini, 2023/10/05
[PATCH 7/7] audio, qtest: get rid of QEMU_AUDIO_DRV, Paolo Bonzini, 2023/10/05
[PATCH 6/7] audio: reintroduce default audio backend for VNC, Paolo Bonzini, 2023/10/05
Re: [PATCH 0/7] audio: redo default audio backend creation, Marc-André Lureau, 2023/10/09