All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] audio: don't use alsa by default
@ 2019-02-19 10:15 Gerd Hoffmann
  2019-02-19 10:39 ` David Hildenbrand
  2019-02-19 11:15 ` Daniel P. Berrangé
  0 siblings, 2 replies; 8+ messages in thread
From: Gerd Hoffmann @ 2019-02-19 10:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann, berrange, david

In case no sound hardware is present the driver initializes
successfully and throws errors later on, i.e. effectively the
automatic probing doesn't work.  So the driver should not be
used by default (until that is fixed).  Drop the can_be_default
flag.

Explicitly picking the alsa driver (using QEMU_AUDIO_DRV=alsa
environment variable) will continue to work.

Buglink: https://bugs.launchpad.net/qemu/+bug/1816052
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 audio/alsaaudio.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index 635be73bf4..1cc570e30b 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -1218,7 +1218,6 @@ static struct audio_driver alsa_audio_driver = {
     .init           = alsa_audio_init,
     .fini           = alsa_audio_fini,
     .pcm_ops        = &alsa_pcm_ops,
-    .can_be_default = 1,
     .max_voices_out = INT_MAX,
     .max_voices_in  = INT_MAX,
     .voice_size_out = sizeof (ALSAVoiceOut),
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-02-19 12:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-19 10:15 [Qemu-devel] [PATCH] audio: don't use alsa by default Gerd Hoffmann
2019-02-19 10:39 ` David Hildenbrand
2019-02-19 11:17   ` Daniel P. Berrangé
2019-02-19 11:29     ` David Hildenbrand
2019-02-19 12:12   ` Gerd Hoffmann
2019-02-19 12:19     ` Daniel P. Berrangé
2019-02-19 12:36       ` Gerd Hoffmann
2019-02-19 11:15 ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.