diff mbox

[PATCHv2] qemu: allow pulseaudio to be the default

Message ID 20091013140855.GA17892@redhat.com
State New
Headers show

Commit Message

Michael S. Tsirkin Oct. 13, 2009, 2:08 p.m. UTC
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>
---
Changes from v1: updated to qemu.git master head.

 audio/paaudio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/audio/paaudio.c b/audio/paaudio.c
index 18292eb..9118ece 100644
--- a/audio/paaudio.c
+++ b/audio/paaudio.c
@@ -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),