aboutsummaryrefslogtreecommitdiff
path: root/audio/paaudio.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-10-13 16:08:55 +0200
committermalc <av1474@comtv.ru>2009-10-13 18:14:50 +0400
commit1a4ea1e34d94acd82ee316a0427d9e82cf37b806 (patch)
tree2974f9f093f1527fdb57660c383bf958c3c76657 /audio/paaudio.c
parent2ca2078e287174522e3a6229618947d3d285b8c0 (diff)
downloadqemu-1a4ea1e34d94acd82ee316a0427d9e82cf37b806.zip
qemu-1a4ea1e34d94acd82ee316a0427d9e82cf37b806.tar.gz
qemu-1a4ea1e34d94acd82ee316a0427d9e82cf37b806.tar.bz2
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. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'audio/paaudio.c')
-rw-r--r--audio/paaudio.c2
1 files changed, 1 insertions, 1 deletions
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),