904b1d4
From 8ab0d97572264051176ff45171484fa463d1287f Mon Sep 17 00:00:00 2001
ee62648
From: Mark McLoughlin <markmc@redhat.com>
ee62648
Date: Fri, 4 Sep 2009 11:24:03 +0100
ee62648
Subject: [PATCH] Allow pulseaudio backend to be the default
ee62648
ee62648
We're seeing various issues with the SDL audio backend and want to
ee62648
switch to the pulseaudio backend. See e.g.
ee62648
ee62648
  https://bugzilla.redhat.com/495964
ee62648
  https://bugzilla.redhat.com/519540
ee62648
  https://bugzilla.redhat.com/496627
ee62648
ee62648
The pulseaudio backend seems to work well, so we should allow it to be
ee62648
selected as the default.
ee62648
ee62648
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
ee62648
Fedora-patch: qemu-allow-pulseaudio-to-be-the-default.patch
ee62648
---
ee62648
 audio/paaudio.c |    2 +-
ee62648
 1 files changed, 1 insertions(+), 1 deletions(-)
ee62648
ee62648
diff --git a/audio/paaudio.c b/audio/paaudio.c
ee62648
index a50fccc..547e252 100644
ee62648
--- a/audio/paaudio.c
ee62648
+++ b/audio/paaudio.c
ee62648
@@ -507,7 +507,7 @@ struct audio_driver pa_audio_driver = {
ee62648
     INIT_FIELD (init           = ) qpa_audio_init,
ee62648
     INIT_FIELD (fini           = ) qpa_audio_fini,
ee62648
     INIT_FIELD (pcm_ops        = ) &qpa_pcm_ops,
ee62648
-    INIT_FIELD (can_be_default = ) 0,
ee62648
+    INIT_FIELD (can_be_default = ) 1,
ee62648
     INIT_FIELD (max_voices_out = ) INT_MAX,
ee62648
     INIT_FIELD (max_voices_in  = ) INT_MAX,
ee62648
     INIT_FIELD (voice_size_out = ) sizeof (PAVoiceOut),
ee62648
-- 
ee62648
1.6.2.5
ee62648