aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Liguori <anthony@codemonkey.ws>2013-11-03 08:45:54 -0800
committerAnthony Liguori <aliguori@amazon.com>2013-11-05 08:40:36 -0800
commitc905c5012ac0c6fde3b8094d2206a3139deddba2 (patch)
tree3552fd720f362f531b6e0ff93c2618ead492cbaa
parent29f8f3835f63fb7c55c7bb56d26165ade793fc49 (diff)
downloadqemu-c905c5012ac0c6fde3b8094d2206a3139deddba2.zip
qemu-c905c5012ac0c6fde3b8094d2206a3139deddba2.tar.gz
qemu-c905c5012ac0c6fde3b8094d2206a3139deddba2.tar.bz2
ossaudio: do not enable by default
Modern Linux's no longer support /dev/dsp so enabling it by default causes audio failures on newer Linux distros. Signed-off-by: Anthony Liguori <aliguori@amazon.com> Tested-by: Andreas Färber <afaerber@suse.de> Message-id: 1383497154-9271-1-git-send-email-aliguori@amazon.com
-rw-r--r--audio/ossaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/ossaudio.c b/audio/ossaudio.c
index 007c641..3e04a58 100644
--- a/audio/ossaudio.c
+++ b/audio/ossaudio.c
@@ -932,7 +932,7 @@ struct audio_driver oss_audio_driver = {
.init = oss_audio_init,
.fini = oss_audio_fini,
.pcm_ops = &oss_pcm_ops,
- .can_be_default = 1,
+ .can_be_default = 0,
.max_voices_out = INT_MAX,
.max_voices_in = INT_MAX,
.voice_size_out = sizeof (OSSVoiceOut),