aboutsummaryrefslogtreecommitdiff
path: root/audio/audio.c
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-25 21:04:05 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-25 21:04:05 +0000
commit0c58ac1c76603ce639e419cedd16cfcdcd813045 (patch)
treed437006980781bc3ac7337183ae80c4316bc4729 /audio/audio.c
parenta214c59855bc9d5dd509588160361f1cb0b4e8d8 (diff)
Change the way audio is configured
Instead of having separate option for each card and driver use --audio-drv-list and --audio-card-list options. Under Linux it allows to set the default(first probed) driver to something other than OSS. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4792 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/audio.c')
-rw-r--r--audio/audio.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/audio/audio.c b/audio/audio.c
index 46b39df767..84eaa83593 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -38,27 +38,7 @@
#define SW_NAME(sw) (sw)->name ? (sw)->name : "unknown"
static struct audio_driver *drvtab[] = {
-#ifdef CONFIG_OSS
- &oss_audio_driver,
-#endif
-#ifdef CONFIG_ALSA
- &alsa_audio_driver,
-#endif
-#ifdef CONFIG_COREAUDIO
- &coreaudio_audio_driver,
-#endif
-#ifdef CONFIG_DSOUND
- &dsound_audio_driver,
-#endif
-#ifdef CONFIG_FMOD
- &fmod_audio_driver,
-#endif
-#ifdef CONFIG_SDL
- &sdl_audio_driver,
-#endif
-#ifdef CONFIG_ESD
- &esd_audio_driver,
-#endif
+ AUDIO_DRIVERS
&no_audio_driver,
&wav_audio_driver
};