Mercurial > audlegacy-plugins
changeset 2048:3df7015bd4bb
Use DAE.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 14 Oct 2007 01:26:06 +0300 |
parents | 627e1069ef33 |
children | 9550e809dc12 |
files | src/cdaudio-ng/cdaudio-ng.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cdaudio-ng/cdaudio-ng.c Sun Oct 14 00:44:04 2007 +0300 +++ b/src/cdaudio-ng/cdaudio-ng.c Sun Oct 14 01:26:06 2007 +0300 @@ -152,8 +152,9 @@ /* if (!aud_cfg_db_get_bool(db, "CDDA", "use_dae", &cdng_cfg.use_dae)) - cdng_cfg.use_dae = TRUE; */ + cdng_cfg.use_dae = TRUE; + if (!aud_cfg_db_get_int(db, "CDDA", "limitspeed", &cdng_cfg.limitspeed)) cdng_cfg.limitspeed = 1; if (!aud_cfg_db_get_bool(db, "CDDA", "use_cdtext", &cdng_cfg.use_cdtext)) @@ -171,8 +172,8 @@ aud_cfg_db_close(db); - CDDEBUG(/*use_dae = %d, */"limitspeed = %d, use_cdtext = %d, use_cddb = %d, cddbserver = \"%s\", cddbport = %d, device = \"%s\", debug = %d\n", - /*cdng_cfg.use_dae, */cdng_cfg.limitspeed, cdng_cfg.use_cdtext, cdng_cfg.use_cddb, + CDDEBUG("use_dae = %d, limitspeed = %d, use_cdtext = %d, use_cddb = %d, cddbserver = \"%s\", cddbport = %d, device = \"%s\", debug = %d\n", + cdng_cfg.use_dae, cdng_cfg.limitspeed, cdng_cfg.use_cdtext, cdng_cfg.use_cddb, cdng_cfg.cddb_server, cdng_cfg.cddb_port, cdng_cfg.device, cdng_cfg.debug); configure_create_gui();