comparison src/audacious/audconfig.h @ 4404:7513318719a7

Pfft, we are Audacious and this is SPARTA!
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 31 Mar 2008 06:06:39 +0300
parents src/audacious/bmpconfig.h@335f4ac3993a
children 628926f505f8
comparison
equal deleted inserted replaced
4403:848a905816f5 4404:7513318719a7
1 /* Audacious - Cross-platform multimedia player
2 * Copyright (C) 2005-2008 Audacious development team
3 *
4 * Based on BMP:
5 * Copyright (C) 2003-2004 BMP development team
6 *
7 * Based on XMMS:
8 * Copyright (C) 1998-2003 XMMS development team
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; under version 3 of the License.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program. If not, see <http://www.gnu.org/licenses>.
21 *
22 * The Audacious team does not consider modular code linking to
23 * Audacious or using our public API to be a derived work.
24 */
25
26 #ifndef BMPCONFIG_H
27 #define BMPCONFIG_H
28
29 struct _BmpConfig {
30 gint player_x, player_y;
31 gint equalizer_x, equalizer_y;
32 gint playlist_x, playlist_y;
33 gint playlist_width, playlist_height;
34 gint snap_distance;
35 gboolean use_realtime;
36 gboolean shuffle, repeat;
37 gboolean scaled, autoscroll;
38 gboolean analyzer_peaks, equalizer_autoload, easy_move, equalizer_active;
39 gboolean playlist_visible, equalizer_visible, player_visible;
40 gboolean player_shaded, playlist_shaded, equalizer_shaded;
41 gboolean allow_multiple_instances, always_show_cb;
42 gboolean convert_underscore, convert_twenty, convert_slash;
43 gboolean show_numbers_in_pl;
44 gboolean snap_windows, save_window_position;
45 gboolean dim_titlebar;
46 gboolean get_info_on_load, get_info_on_demand;
47 gboolean eq_scaled_linked;
48 gboolean sort_jump_to_file;
49 gboolean use_eplugins;
50 gboolean always_on_top, sticky;
51 gboolean no_playlist_advance;
52 gboolean stopaftersong;
53 gboolean refresh_file_list;
54 gboolean smooth_title_scroll;
55 gboolean use_pl_metadata;
56 gboolean warn_about_unplayables;
57 gboolean warn_about_win_visibility;
58 gboolean use_backslash_as_dir_delimiter;
59 gboolean random_skin_on_play;
60 gboolean use_fontsets;
61 gboolean mainwin_use_bitmapfont;
62 gboolean custom_cursors;
63 gboolean close_dialog_open;
64 gboolean close_dialog_add;
65 gfloat equalizer_preamp, equalizer_bands[10];
66 gfloat scale_factor;
67 gchar *skin;
68 gchar *outputplugin;
69 gchar *filesel_path;
70 gchar *playlist_path;
71 gchar *playlist_font, *mainwin_font;
72 gchar *disabled_iplugins;
73 gchar *enabled_gplugins, *enabled_vplugins, *enabled_eplugins, *enabled_dplugins ;
74 gchar *eqpreset_default_file, *eqpreset_extension;
75 GList *url_history;
76 gint timer_mode;
77 gint vis_type;
78 gint analyzer_mode, analyzer_type;
79 gint scope_mode;
80 gint voiceprint_mode;
81 gint vu_mode, vis_refresh;
82 gint analyzer_falloff, peaks_falloff;
83 gint playlist_position;
84 gint pause_between_songs_time;
85 gboolean pause_between_songs;
86 gboolean show_wm_decorations;
87 gint mouse_change;
88 gboolean playlist_transparent;
89 gint titlestring_preset;
90 gchar *gentitle_format;
91 gboolean softvolume_enable;
92 gboolean xmms_compat_mode;
93 gboolean eq_extra_filtering;
94 gint scroll_pl_by;
95 gboolean resume_playback_on_startup;
96 gint resume_playback_on_startup_time;
97 gboolean show_separator_in_pl;
98 gchar *chardet_detector;
99 gchar *chardet_fallback;
100 gint output_buffer_size;
101 gboolean playlist_detect;
102 gboolean show_filepopup_for_tuple;
103 gchar *cover_name_include, *cover_name_exclude;
104 gboolean recurse_for_cover;
105 gint recurse_for_cover_depth;
106 gchar *session_uri_base;
107 gint filepopup_pixelsize;
108 gint filepopup_delay;
109 gboolean use_file_cover;
110 gboolean use_xmms_style_fileselector;
111 gboolean use_extension_probing;
112 gint colorize_r; gint colorize_g; gint colorize_b;
113 gboolean terminate;
114 gboolean filepopup_showprogressbar;
115 gboolean close_jtf_dialog;
116 gboolean twoway_scroll;
117 gboolean software_volume_control;
118 gboolean warn_about_broken_gtk_engines;
119 gboolean disable_inline_gtk;
120 gboolean remember_jtf_entry;
121 gint output_bit_depth;
122 gboolean enable_replay_gain;
123 gboolean enable_clipping_prevention;
124 gboolean replay_gain_track;
125 gboolean replay_gain_album;
126 gboolean enable_adaptive_scaler;
127 gfloat replay_gain_preamp;
128 gfloat default_gain;
129 gint saved_volume;
130 #ifdef USE_SRC
131 gboolean enable_src;
132 gint src_rate;
133 gint src_type;
134 #endif
135 gboolean bypass_dsp;
136 };
137
138 typedef struct _BmpConfig BmpConfig;
139
140 extern BmpConfig cfg;
141 extern BmpConfig bmp_default_config;
142
143 void bmp_config_free(void);
144 void bmp_config_load(void);
145 void bmp_config_save(void);
146
147 #endif