render / rpms / qemu

Forked from rpms/qemu 9 months ago
Clone

Blame qemu-allow-pulseaudio-to-be-the-default.patch

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