summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-09 10:46:34 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-09 10:46:34 +0000
commitf4d8cf41fe9a7aa80bb68e55911bb94b1d6100a2 (patch)
treeed75db4010df312da0c382b3ae9234a346043ff8 /vl.c
parentf92ea688265082e9fabd32048378b630c998f118 (diff)
downloadqemu-f4d8cf41fe9a7aa80bb68e55911bb94b1d6100a2.tar.gz
qemu-f4d8cf41fe9a7aa80bb68e55911bb94b1d6100a2.tar.bz2
qemu-f4d8cf41fe9a7aa80bb68e55911bb94b1d6100a2.zip
More flexible audio card selection
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6258 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 9a9410b240..e29072b5f9 100644
--- a/vl.c
+++ b/vl.c
@@ -4266,6 +4266,8 @@ struct soundhw soundhw[] = {
{ .init_isa = pcspk_audio_init }
},
#endif
+
+#ifdef CONFIG_SB16
{
"sb16",
"Creative Sound Blaster 16",
@@ -4273,6 +4275,7 @@ struct soundhw soundhw[] = {
1,
{ .init_isa = SB16_init }
},
+#endif
#ifdef CONFIG_CS4231A
{
@@ -4308,6 +4311,7 @@ struct soundhw soundhw[] = {
},
#endif
+#ifdef CONFIG_AC97
{
"ac97",
"Intel 82801AA AC97 Audio",
@@ -4315,7 +4319,9 @@ struct soundhw soundhw[] = {
0,
{ .init_pci = ac97_init }
},
+#endif
+#ifdef CONFIG_ES1370
{
"es1370",
"ENSONIQ AudioPCI ES1370",
@@ -4325,6 +4331,8 @@ struct soundhw soundhw[] = {
},
#endif
+#endif /* HAS_AUDIO_CHOICE */
+
{ NULL, NULL, 0, 0, { NULL } }
};