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 "effect.h"
#include "general.h"
#include "output.h"
#include "playback.h"
#include "pluginenum.h"
#include "plugins.h"
#include "util.h"
#include "visualization.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_free (void)
void aud_config_chardet_update (void)
void aud_config_load (void)
static void save_output_path (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 208 of file audconfig.c.

Referenced by aud_config_load().

void aud_config_free ( void  )

Definition at line 196 of file audconfig.c.

Referenced by main().

void aud_config_load ( void  )

Definition at line 217 of file audconfig.c.

Referenced by main().

void aud_config_save ( void  )

Definition at line 300 of file audconfig.c.

Referenced by autosave_cb(), and shut_down().

static void save_output_path ( void  ) [static]

Definition at line 285 of file audconfig.c.

Referenced by aud_config_save().


Variable Documentation

Initial value:
 {
    {"show_numbers_in_pl", &cfg.show_numbers_in_pl, TRUE},
    {"no_playlist_advance", &cfg.no_playlist_advance, TRUE},
    {"player_visible", &cfg.player_visible, TRUE},
    {"shuffle", &cfg.shuffle, TRUE},
    {"repeat", &cfg.repeat, TRUE},
    {"stop_after_current_song", &cfg.stopaftersong, TRUE},
    {"playlist_visible", &cfg.playlist_visible, TRUE},
    {"equalizer_visible", &cfg.equalizer_visible, 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},
    {"clear_playlist", &cfg.clear_playlist, TRUE},
    {"no_confirm_playlist_delete", &cfg.no_confirm_playlist_delete, TRUE},
    {"playlist_manager_close_on_activate",
     & cfg.playlist_manager_close_on_activate, TRUE},
}

Definition at line 126 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},
    {"output_number", & cfg.output_number, TRUE},
    {"iface_number", & cfg.iface_number, 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 158 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},
    {"output_path", & cfg.output_path, TRUE},
    {"iface_path", & cfg.iface_path, TRUE},
}

Definition at line 179 of file audconfig.c.

AudConfig cfg

Definition at line 44 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(), drct_pl_next(), drct_pl_repeat_is_enabled(), drct_pl_repeat_toggle(), drct_pl_shuffle_is_enabled(), drct_pl_shuffle_toggle(), eq_update(), fileinfo_recursive_get_image(), get_gentitle_format(), handle_cmd_line_filenames(), handle_cmd_line_options(), interface_get_default(), interface_set_default(), is_front_cover_image(), 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(), output_get_volume(), output_load_selected(), output_open_audio(), output_set_volume(), playback_ended(), playback_get_title(), playlist_next_song(), playlist_prev_song(), save_output_path(), 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 156 of file audconfig.c.

Referenced by aud_config_load(), and aud_config_save().

gint ncfgient = G_N_ELEMENTS(aud_numents) [static]

Definition at line 177 of file audconfig.c.

Referenced by aud_config_load(), and aud_config_save().

gint ncfgsent = G_N_ELEMENTS(aud_strents) [static]

Definition at line 193 of file audconfig.c.

Referenced by aud_config_free(), aud_config_load(), and aud_config_save().