Mercurial > audlegacy
comparison src/audacious/audconfig.c @ 4412:180996fcf12a
bmp_config_* -> aud_config_*
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 31 Mar 2008 06:36:41 +0300 |
parents | 628926f505f8 |
children | de33c83aa06f |
comparison
equal
deleted
inserted
replaced
4411:628926f505f8 | 4412:180996fcf12a |
---|---|
470 } | 470 } |
471 } | 471 } |
472 | 472 |
473 | 473 |
474 void | 474 void |
475 bmp_config_free(void) | 475 aud_config_free(void) |
476 { | 476 { |
477 gint i; | 477 gint i; |
478 for (i = 0; i < ncfgsent; ++i) { | 478 for (i = 0; i < ncfgsent; ++i) { |
479 if ( *(bmp_strents[i].se_vloc) != NULL ) | 479 if ( *(bmp_strents[i].se_vloc) != NULL ) |
480 { | 480 { |
483 } | 483 } |
484 } | 484 } |
485 } | 485 } |
486 | 486 |
487 void | 487 void |
488 bmp_config_load(void) | 488 aud_config_load(void) |
489 { | 489 { |
490 ConfigDb *db; | 490 ConfigDb *db; |
491 gint i, length; | 491 gint i, length; |
492 | 492 |
493 memcpy(&cfg, &aud_default_config, sizeof(AudConfig)); | 493 memcpy(&cfg, &aud_default_config, sizeof(AudConfig)); |
603 cfg.playlist_width = MAX(cfg.playlist_width, PLAYLISTWIN_MIN_WIDTH); | 603 cfg.playlist_width = MAX(cfg.playlist_width, PLAYLISTWIN_MIN_WIDTH); |
604 cfg.playlist_height = MAX(cfg.playlist_height, PLAYLISTWIN_MIN_HEIGHT); | 604 cfg.playlist_height = MAX(cfg.playlist_height, PLAYLISTWIN_MIN_HEIGHT); |
605 } | 605 } |
606 | 606 |
607 void | 607 void |
608 bmp_config_save(void) | 608 aud_config_save(void) |
609 { | 609 { |
610 GList *node; | 610 GList *node; |
611 gchar *str; | 611 gchar *str; |
612 gint i, cur_pb_time, vol_l, vol_r; | 612 gint i, cur_pb_time, vol_l, vol_r; |
613 ConfigDb *db; | 613 ConfigDb *db; |