Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef AUDACIOUS_AUDCONFIG_H
00027 #define AUDACIOUS_AUDCONFIG_H
00028
00029 #include <glib.h>
00030 #include <audacious/types.h>
00031
00032 #ifndef _AUDACIOUS_CORE
00033 #include <audacious/api.h>
00034 #define aud_cfg (_aud_api_table->cfg)
00035 #endif
00036
00037 struct _AudConfig {
00038 gboolean shuffle, repeat;
00039 gboolean equalizer_autoload, equalizer_active;
00040 gboolean playlist_visible, equalizer_visible, player_visible;
00041 gboolean show_numbers_in_pl;
00042 gboolean no_playlist_advance;
00043 gboolean stopaftersong;
00044 gboolean close_dialog_open;
00045 gfloat equalizer_preamp, equalizer_bands[AUD_EQUALIZER_NBANDS];
00046 gchar *filesel_path;
00047 gchar *playlist_path;
00048 gchar *eqpreset_default_file, *eqpreset_extension;
00049 GList *url_history;
00050 gint titlestring_preset;
00051 gchar *gentitle_format;
00052 gboolean resume_playback_on_startup;
00053 gint unused, unused2;
00054 gint resume_state;
00055 gint resume_playback_on_startup_time;
00056 gchar *chardet_detector;
00057 gchar *chardet_fallback;
00058 gchar **chardet_fallback_s;
00059 gint output_buffer_size;
00060 gboolean show_filepopup_for_tuple;
00061 gchar *cover_name_include, *cover_name_exclude;
00062 gboolean recurse_for_cover;
00063 gint recurse_for_cover_depth;
00064 gint filepopup_pixelsize;
00065 gint filepopup_delay;
00066 gboolean use_file_cover;
00067 gboolean filepopup_showprogressbar;
00068 gboolean close_jtf_dialog;
00069 gboolean software_volume_control;
00070 gboolean remember_jtf_entry;
00071 gint output_bit_depth;
00072 gboolean enable_replay_gain;
00073 gboolean enable_clipping_prevention;
00074 gboolean replay_gain_track;
00075 gboolean replay_gain_album;
00076 gfloat replay_gain_preamp;
00077 gfloat default_gain;
00078 gint sw_volume_left, sw_volume_right;
00079 gboolean clear_playlist;
00080 gchar * output_path;
00081 gint output_number;
00082 gchar * iface_path;
00083 gint iface_number;
00084
00085
00086 gboolean no_confirm_playlist_delete;
00087 gint playlist_manager_x, playlist_manager_y, playlist_manager_width,
00088 playlist_manager_height;
00089 gboolean playlist_manager_close_on_activate;
00090
00091
00092 gboolean verbose;
00093 };
00094
00095 typedef struct _AudConfig AudConfig;
00096
00097 extern AudConfig cfg;
00098 extern AudConfig aud_default_config;
00099
00100 void aud_config_free(void);
00101 void aud_config_load(void);
00102 void aud_config_save(void);
00103
00104 void aud_config_chardet_update(void);
00105
00106 #endif