]> git.proxmox.com Git - qemu.git/commitdiff
qemu: allow pulseaudio to be the default
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 13 Oct 2009 14:08:55 +0000 (16:08 +0200)
committermalc <av1474@comtv.ru>
Tue, 13 Oct 2009 14:14:50 +0000 (18:14 +0400)
We're seeing various issues with the SDL audio backend and want to
switch to the pulseaudio backend. See e.g.

  https://bugzilla.redhat.com/495964
  https://bugzilla.redhat.com/519540
  https://bugzilla.redhat.com/496627

The pulseaudio backend seems to work well, so we should allow it to be
selected as the default.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
audio/paaudio.c

index 18292eb1e6a19c980cc692766c9664e0da10403a..9118ece40cdbd2a7c259805f3650839a5c7a180d 100644 (file)
@@ -519,7 +519,7 @@ struct audio_driver pa_audio_driver = {
     .init           = qpa_audio_init,
     .fini           = qpa_audio_fini,
     .pcm_ops        = &qpa_pcm_ops,
-    .can_be_default = 0,
+    .can_be_default = 1,
     .max_voices_out = INT_MAX,
     .max_voices_in  = INT_MAX,
     .voice_size_out = sizeof (PAVoiceOut),