convert C prototypes for functions with no args from () to (void)
[platform/upstream/flac.git] / src / plugin_xmms / configure.h
1 /* libxmms-flac - XMMS FLAC input plugin
2  * Copyright (C) 2002,2003,2004,2005,2006  Daisuke Shimamura
3  *
4  * Based on mpg123 plugin
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19  */
20
21 #ifndef FLAC__PLUGIN_XMMS__CONFIGURE_H
22 #define FLAC__PLUGIN_XMMS__CONFIGURE_H
23
24 #include <glib.h>
25
26 typedef struct {
27         struct {
28                 gboolean tag_override;
29                 gchar *tag_format;
30                 gboolean convert_char_set;
31                 gchar *user_char_set;
32         } title;
33
34         struct {
35                 gint http_buffer_size;
36                 gint http_prebuffer;
37                 gboolean use_proxy; 
38                 gchar *proxy_host;
39                 gint proxy_port;
40                 gboolean proxy_use_auth;
41                 gchar *proxy_user;
42                 gchar *proxy_pass;
43                 gboolean save_http_stream;
44                 gchar *save_http_path;
45                 gboolean cast_title_streaming;
46                 gboolean use_udp_channel;
47         } stream;
48
49         struct {
50                 struct {
51                         gboolean enable;
52                         gboolean album_mode;
53                         gint preamp;
54                         gboolean hard_limit;
55                 } replaygain;
56                 struct {
57                         struct {
58                                 gboolean dither_24_to_16;
59                         } normal;
60                         struct {
61                                 gboolean dither;
62                                 gint noise_shaping; /* value must be one of NoiseShaping enum, c.f. plugin_common/replaygain_synthesis.h */
63                                 gint bps_out;
64                         } replaygain;
65                 } resolution;
66         } output;
67 } flac_config_t;
68
69 extern flac_config_t flac_cfg;
70
71 extern void FLAC_XMMS__configure(void);
72 extern void FLAC_XMMS__aboutbox(void);
73
74 #endif
75
76
77