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 181 of file audconfig.c.

Referenced by aud_config_load().

void aud_config_load ( void   ) 

Definition at line 190 of file audconfig.c.

Referenced by init_two().

void aud_config_save ( void   ) 

Definition at line 261 of file audconfig.c.

Referenced by autosave_cb(), and shut_down().


Variable Documentation

Initial value:
 {
    {"show_numbers_in_pl", &cfg.show_numbers_in_pl, TRUE},
    {"leading_zero", & cfg.leading_zero, TRUE},
    {"no_playlist_advance", &cfg.no_playlist_advance, TRUE},
    {"advance_on_delete", & cfg.advance_on_delete, TRUE},
    {"clear_playlist", & cfg.clear_playlist, TRUE},
    {"open_to_temporary", & cfg.open_to_temporary, TRUE},
    {"shuffle", &cfg.shuffle, TRUE},
    {"repeat", &cfg.repeat, TRUE},
    {"stop_after_current_song", &cfg.stopaftersong, TRUE},
    {"equalizer_active", &cfg.equalizer_active, TRUE},
    {"equalizer_autoload", &cfg.equalizer_autoload, TRUE},
    {"close_dialog_open", &cfg.close_dialog_open, TRUE},
    {"resume_playback_on_startup", &cfg.resume_playback_on_startup, TRUE},
    {"show_filepopup_for_tuple", &cfg.show_filepopup_for_tuple, TRUE},
    {"recurse_for_cover", &cfg.recurse_for_cover, TRUE},
    {"use_file_cover", &cfg.use_file_cover, TRUE},
    {"filepopup_showprogressbar", &cfg.filepopup_showprogressbar, TRUE},
    {"close_jtf_dialog", &cfg.close_jtf_dialog, TRUE},
    {"software_volume_control", &cfg.software_volume_control, TRUE},
    {"remember_jtf_entry", &cfg.remember_jtf_entry, TRUE},
    {"enable_replay_gain", &cfg.enable_replay_gain, TRUE},
    {"enable_clipping_prevention", &cfg.enable_clipping_prevention, TRUE},
    {"replay_gain_track", &cfg.replay_gain_track, TRUE},
    {"replay_gain_album", &cfg.replay_gain_album, TRUE},
    {"no_confirm_playlist_delete", &cfg.no_confirm_playlist_delete, TRUE},
    {"playlist_manager_close_on_activate", & cfg.playlist_manager_close_on_activate, TRUE},
    {"use_proxy", & cfg.use_proxy, TRUE},
    {"use_proxy_auth", & cfg.use_proxy_auth, TRUE},
}

Definition at line 111 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 144 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},
    {"proxy_host", & cfg.proxy_host, TRUE},
    {"proxy_port", & cfg.proxy_port, TRUE},
    {"proxy_user", & cfg.proxy_user, TRUE},
    {"proxy_pass", & cfg.proxy_pass, TRUE},
}

Definition at line 163 of file audconfig.c.

AudConfig cfg
gint ncfgbent = G_N_ELEMENTS(aud_boolents) [static]

Definition at line 142 of file audconfig.c.

Referenced by aud_config_load(), and aud_config_save().

gint ncfgient = G_N_ELEMENTS(aud_numents) [static]

Definition at line 161 of file audconfig.c.

Referenced by aud_config_load(), and aud_config_save().

gint ncfgsent = G_N_ELEMENTS(aud_strents) [static]

Definition at line 179 of file audconfig.c.

Referenced by aud_config_load(), and aud_config_save().


Generated on 27 Aug 2011 for Audacious by  doxygen 1.6.1