Mercurial > audlegacy-plugins
comparison src/cdaudio-ng/cdaudio-ng.c @ 2523:769e17da93dd
Replaced s/ConfigDb/mcs_handle_t/g, as per changes in the core.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 09 Apr 2008 15:48:36 +0300 |
parents | 7b284f323ad8 |
children | fb2856249629 |
comparison
equal
deleted
inserted
replaced
2522:7b5b4a51ea6e | 2523:769e17da93dd |
---|---|
142 } | 142 } |
143 | 143 |
144 | 144 |
145 static void cdaudio_init() | 145 static void cdaudio_init() |
146 { | 146 { |
147 ConfigDb *db; | 147 mcs_handle_t *db; |
148 gchar *menu_item_text; | 148 gchar *menu_item_text; |
149 | 149 |
150 debug("cdaudio_init()\n"); | 150 debug("cdaudio_init()\n"); |
151 | 151 |
152 cdng_cfg.use_dae = TRUE; | 152 cdng_cfg.use_dae = TRUE; |
581 } | 581 } |
582 playing_track = -1; | 582 playing_track = -1; |
583 | 583 |
584 // todo: destroy the gui | 584 // todo: destroy the gui |
585 | 585 |
586 ConfigDb *db = aud_cfg_db_open(); | 586 mcs_handle_t *db = aud_cfg_db_open(); |
587 aud_cfg_db_set_bool(db, "CDDA", "use_dae", cdng_cfg.use_dae); | 587 aud_cfg_db_set_bool(db, "CDDA", "use_dae", cdng_cfg.use_dae); |
588 aud_cfg_db_set_int(db, "CDDA", "limitspeed", cdng_cfg.limitspeed); | 588 aud_cfg_db_set_int(db, "CDDA", "limitspeed", cdng_cfg.limitspeed); |
589 aud_cfg_db_set_bool(db, "CDDA", "use_cdtext", cdng_cfg.use_cdtext); | 589 aud_cfg_db_set_bool(db, "CDDA", "use_cdtext", cdng_cfg.use_cdtext); |
590 aud_cfg_db_set_bool(db, "CDDA", "use_cddb", cdng_cfg.use_cddb); | 590 aud_cfg_db_set_bool(db, "CDDA", "use_cddb", cdng_cfg.use_cddb); |
591 aud_cfg_db_set_string(db, "CDDA", "cddbserver", cdng_cfg.cddb_server); | 591 aud_cfg_db_set_string(db, "CDDA", "cddbserver", cdng_cfg.cddb_server); |