Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
Classes | Functions | Variables
audconfig.c File Reference
#include <glib.h>
#include <libaudcore/hook.h>
#include "audconfig.h"
#include "configdb.h"
#include "playback.h"

Go to the source code of this file.

Classes

struct  aud_cfg_boolent
struct  aud_cfg_nument
struct  aud_cfg_strent

Functions

void aud_config_chardet_update (void)
void aud_config_load (void)
void aud_config_save (void)

Variables

AudConfig cfg
static aud_cfg_boolent aud_boolents []
static gint ncfgbent = G_N_ELEMENTS(aud_boolents)
static aud_cfg_nument aud_numents []
static gint ncfgient = G_N_ELEMENTS(aud_numents)
static aud_cfg_strent aud_strents []
static gint ncfgsent = G_N_ELEMENTS(aud_strents)

Function Documentation

void aud_config_chardet_update ( void  )

Definition at line 182 of file audconfig.c.

Referenced by aud_config_load().

void aud_config_load ( void  )

Definition at line 191 of file audconfig.c.

Referenced by init_two().

void aud_config_save ( void  )

Definition at line 262 of file audconfig.c.

Referenced by autosave_cb(), and shut_down().


Variable Documentation

Definition at line 114 of file audconfig.c.

Initial value:
 {
    {"titlestring_preset", &cfg.titlestring_preset, TRUE},
    {"resume_state", & cfg.resume_state, TRUE},
    {"resume_playback_on_startup_time", &cfg.resume_playback_on_startup_time, TRUE},
    {"output_buffer_size", &cfg.output_buffer_size, TRUE},
    {"recurse_for_cover_depth", &cfg.recurse_for_cover_depth, TRUE},
    {"filepopup_pixelsize", &cfg.filepopup_pixelsize, TRUE},
    {"filepopup_delay", &cfg.filepopup_delay, TRUE},
    {"output_bit_depth", &cfg.output_bit_depth, TRUE},
    {"sw_volume_left", & cfg.sw_volume_left, TRUE},
    {"sw_volume_right", & cfg.sw_volume_right, TRUE},
    {"playlist_manager_x", & cfg.playlist_manager_x, TRUE},
    {"playlist_manager_y", & cfg.playlist_manager_y, TRUE},
    {"playlist_manager_width", & cfg.playlist_manager_width, TRUE},
    {"playlist_manager_height", & cfg.playlist_manager_height, TRUE},
}

Definition at line 149 of file audconfig.c.

Initial value:
 {
    {"eqpreset_default_file", &cfg.eqpreset_default_file, TRUE},
    {"eqpreset_extension", &cfg.eqpreset_extension, TRUE},
    {"filesel_path", &cfg.filesel_path, FALSE},
    {"playlist_path", &cfg.playlist_path, FALSE},
    {"generic_title_format", &cfg.gentitle_format, TRUE},
    {"chardet_detector", &cfg.chardet_detector, TRUE},
    {"chardet_fallback", &cfg.chardet_fallback, TRUE},
    {"cover_name_include", &cfg.cover_name_include, TRUE},
    {"cover_name_exclude", &cfg.cover_name_exclude, TRUE},
}

Definition at line 168 of file audconfig.c.

AudConfig cfg

Definition at line 33 of file audconfig.c.

Referenced by add_cb(), add_list(), apply_replay_gain(), apply_software_volume(), aud_config_chardet_update(), aud_config_load(), aud_config_save(), audacious_rc_auto_advance(), audacious_rc_equalizer_activate(), audacious_rc_equalizer_visible(), audacious_rc_get_eq(), audacious_rc_get_eq_band(), audacious_rc_get_eq_preamp(), audacious_rc_main_win_visible(), audacious_rc_playlist_visible(), audacious_rc_repeat(), audacious_rc_set_eq(), audacious_rc_set_eq_band(), audacious_rc_set_eq_preamp(), audacious_rc_shuffle(), audacious_rc_toggle_auto_advance(), audacious_rc_toggle_repeat(), audacious_rc_toggle_shuffle(), cd_chardet_to_utf8(), complete_stop(), create_playlist_category(), create_widgets_with_domain(), do_commands(), drct_pl_delete_selected(), drct_pl_next(), drct_pl_open(), drct_pl_open_list(), drct_pl_repeat_is_enabled(), drct_pl_repeat_toggle(), drct_pl_shuffle_is_enabled(), drct_pl_shuffle_toggle(), end_cb(), eq_update(), fileinfo_recursive_get_image(), get_gentitle_format(), init_two(), is_front_cover_image(), leading_zero_cb(), mpris_emit_status_change(), mpris_player_get_status(), on_filepopup_for_tuple_settings_clicked(), on_filepopup_settings_ok_clicked(), on_output_plugin_bufsize_realize(), on_output_plugin_bufsize_value_changed(), on_show_filepopup_for_tuple_realize(), on_show_filepopup_for_tuple_toggled(), on_titlestring_cbox_changed(), on_titlestring_cbox_realize(), on_titlestring_entry_changed(), on_titlestring_entry_realize(), open_audio(), output_get_volume(), output_set_volume(), playback_get_title(), playlist_next_song(), playlist_prev_song(), set_repeat_cb(), set_shuffle_cb(), show_numbers_cb(), sw_volume_toggled(), and util_add_url_history_entry().

gint ncfgbent = G_N_ELEMENTS(aud_boolents) [static]

Definition at line 147 of file audconfig.c.

Referenced by aud_config_load(), and aud_config_save().

gint ncfgient = G_N_ELEMENTS(aud_numents) [static]

Definition at line 166 of file audconfig.c.

Referenced by aud_config_load(), and aud_config_save().

gint ncfgsent = G_N_ELEMENTS(aud_strents) [static]

Definition at line 180 of file audconfig.c.

Referenced by aud_config_load(), and aud_config_save().