Search
lxdream.org :: lxdream/src/config.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/config.c
changeset 643:653b0a70f173
prev608:4f588e52bce0
next724:f2bc1c7cca14
author bhaal22
date Tue Feb 26 01:10:48 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Commit initial ALSA audio driver
Add init/shutdown stubs to audio driver structure
file annotate diff log raw
1.1 --- a/src/config.c Sat Jan 26 02:45:27 2008 +0000
1.2 +++ b/src/config.c Tue Feb 26 01:10:48 2008 +0000
1.3 @@ -27,6 +27,9 @@
1.4 #include "config.h"
1.5 #include "maple/maple.h"
1.6
1.7 +
1.8 +extern struct lxdream_config_entry alsa_config[];
1.9 +
1.10 gboolean lxdream_load_config_file( const gchar *filename );
1.11 gboolean lxdream_save_config_file( const gchar *filename );
1.12 gboolean lxdream_load_config_stream( FILE *f );
1.13 @@ -50,6 +53,9 @@
1.14 {{ "global", global_config },
1.15 { "controllers", NULL },
1.16 { "serial", serial_config },
1.17 +#ifdef HAVE_ALSA
1.18 + { "alsa", alsa_config },
1.19 +#endif
1.20 { NULL, CONFIG_TYPE_NONE }};
1.21
1.22 static gchar *lxdream_config_load_filename = NULL;
.