diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-27 16:13:25 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:10:55 -0500 |
commit | 0595e5ef4dcb007bc5ff6d5b22d1271f2857a857 (patch) | |
tree | 5991a7b52556e56f016567504027ab0d5a712e93 /audio | |
parent | 800ad530e679429c8de95e87972ddac749521199 (diff) | |
download | qemu-0595e5ef4dcb007bc5ff6d5b22d1271f2857a857.tar.gz qemu-0595e5ef4dcb007bc5ff6d5b22d1271f2857a857.tar.bz2 qemu-0595e5ef4dcb007bc5ff6d5b22d1271f2857a857.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 }; |