changeset 416:01fb75fe0f48 trunk

[svn] Default to digital audio extraction
author nemo
date Thu, 11 Jan 2007 09:31:39 -0800
parents 050ce23b832b
children 22ad7fc47d14
files ChangeLog src/cdaudio/cdaudio.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jan 09 02:23:38 2007 -0800
+++ b/ChangeLog	Thu Jan 11 09:31:39 2007 -0800
@@ -1,3 +1,10 @@
+2007-01-09 10:23:38 +0000  Tony Vroon <chainsaw@gentoo.org>
+  revision [913]
+  Correct earlier commit message.
+  trunk/ChangeLog |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-01-08 22:18:53 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [911]
   Whoever reverted r1937, stop blowing holes in my ship!
--- a/src/cdaudio/cdaudio.c	Tue Jan 09 02:23:38 2007 -0800
+++ b/src/cdaudio/cdaudio.c	Thu Jan 11 09:31:39 2007 -0800
@@ -679,7 +679,8 @@
     bmp_cfg_db_get_string(db, "CDDA", "device", &drive->device);
     bmp_cfg_db_get_string(db, "CDDA", "directory", &drive->directory);
     bmp_cfg_db_get_int(db, "CDDA", "mixer", &drive->mixer);
-    bmp_cfg_db_get_int(db, "CDDA", "readmode", &drive->dae);
+    if (bmp_cfg_db_get_int(db, "CDDA", "readmode", &drive->dae)==FALSE)
+        drive->dae = 1; /* default to digital */
 
     if (!drive->device)
         drive->device = g_strdup(CDDA_DEVICE);