Skip to contentSkip to conversation

qemu: allow pulseaudio to be the default

PATCH New Michael S. Tsirkin 1 participant 1 message Oct 13, 2009

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qemu: allow pulseaudio to be the default

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.

---
Changes from v1: updated to qemu.git master head.

 audio/paaudio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
audio/paaudio.c +1 -1
index 18292eb..9118ece 100644
@@ -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),
Signature · 1 line
1.6.5.rc2