aboutsummaryrefslogtreecommitdiff
path: root/audio/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audio.c')
-rw-r--r--audio/audio.c7
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
};