912eef20 | 05-Oct-2023 |
Paolo Bonzini <pbonzini@redhat.com> |
audio, qtest: get rid of QEMU_AUDIO_DRV
Default audio devices can now be created with "-audio". Tests for soundcards were already using "-audiodev" if they want to specify a particular backend, for
audio, qtest: get rid of QEMU_AUDIO_DRV
Default audio devices can now be created with "-audio". Tests for soundcards were already using "-audiodev" if they want to specify a particular backend, for the others remove the last remnants of legacy audio configuration.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
63a13c08 | 05-Oct-2023 |
Paolo Bonzini <pbonzini@redhat.com> |
audio: reintroduce default audio backend for VNC
Make VNC use the default backend again if one is defined. The recently introduced support for disabling the VNC audio extension is still used, in cas
audio: reintroduce default audio backend for VNC
Make VNC use the default backend again if one is defined. The recently introduced support for disabling the VNC audio extension is still used, in case no default backend exists.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
22f84d4f | 05-Oct-2023 |
Paolo Bonzini <pbonzini@redhat.com> |
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 opt
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>
show more ...
|
1ebdbff4 | 21-Sep-2023 |
Paolo Bonzini <pbonzini@redhat.com> |
audio: extend -audio to allow creating a default backend
If "-audio BACKEND" is used without a model, the resulting backend will be used whenever the audiodev property is not specified.
Signed-off-
audio: extend -audio to allow creating a default backend
If "-audio BACKEND" is used without a model, the resulting backend will be used whenever the audiodev property is not specified.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
c753bf47 | 05-Oct-2023 |
Paolo Bonzini <pbonzini@redhat.com> |
audio: disable default backends if -audio/-audiodev is used
Match what is done for other options, for example -monitor, and also the behavior of QEMU 8.1 (see the "legacy_config" variable). Require
audio: disable default backends if -audio/-audiodev is used
Match what is done for other options, for example -monitor, and also the behavior of QEMU 8.1 (see the "legacy_config" variable). Require the user to specify a backend if one is specified on the command line.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
9f8cf356 | 02-Oct-2023 |
Paolo Bonzini <pbonzini@redhat.com> |
audio: forbid default audiodev backend with -nodefaults
Now that all callers support setting an audiodev, forbid using the default audiodev if -nodefaults is provided on the command line.
Signed-of
audio: forbid default audiodev backend with -nodefaults
Now that all callers support setting an audiodev, forbid using the default audiodev if -nodefaults is provided on the command line.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
69a80279 | 05-Sep-2023 |
Paolo Bonzini <pbonzini@redhat.com> |
audio: remove QEMU_AUDIO_* and -audio-help support
These have been deprecated for a long time, and the introduction of -audio in 7.1.0 has cemented the new way of specifying an audio backend's param
audio: remove QEMU_AUDIO_* and -audio-help support
These have been deprecated for a long time, and the introduction of -audio in 7.1.0 has cemented the new way of specifying an audio backend's parameters. However, there is still a need for simple configuration of the audio backend in the desktop case; therefore, if no audiodev is passed to audio_init(), go through a bunch of simple Audiodev* structures and pick the first that can be initialized successfully.
The only QEMU_AUDIO_* option that is left in, waiting for a better idea, is QEMU_AUDIO_DRV=none which is used by qtest.
Remove all the parsing code, including the concept of "can_be_default" audio drivers: now that audio_prio_list[] is only used in a single place, wav can be excluded directly in that function.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|