diff options
author | Juan Quintela | 2009-07-27 16:13:25 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-07-27 21:10:55 +0200 |
commit | 2358a4940b7f9b863fa8084960f40517985df8c1 (patch) | |
tree | 5991a7b52556e56f016567504027ab0d5a712e93 /audio | |
parent | rename USE_NPTL to CONFIG_USE_NPTL (diff) | |
download | qemu-2358a4940b7f9b863fa8084960f40517985df8c1.tar.gz qemu-2358a4940b7f9b863fa8084960f40517985df8c1.tar.xz qemu-2358a4940b7f9b863fa8084960f40517985df8c1.zip |
Generate config-host.h from config-host.mak
Generate CONFIG_AUDIO_DRIVERS. Order is important here, because the
first driver in the list is the one used by default.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audio.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/audio.c b/audio/audio.c index 694a83e4ec..0a3830dc43 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -37,8 +37,13 @@ #define SW_NAME(sw) (sw)->name ? (sw)->name : "unknown" + +/* Order of CONFIG_AUDIO_DRIVERS is import. + The 1st one is the one used by default, that is the reason + that we generate the list. +*/ static struct audio_driver *drvtab[] = { - AUDIO_DRIVERS + CONFIG_AUDIO_DRIVERS &no_audio_driver, &wav_audio_driver }; |