major plugin revamp based on x-fixer's code
[flac.git] / src / plugin_xmms / configure.h
1 /* libxmms-flac - XMMS FLAC input plugin
2  * Copyright (C) 2002,2003,2004  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 __CONFIGURE_H__
22 #define __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                 struct {
36                         gboolean enable;
37                         gboolean album_mode;
38                         gint preamp;
39                         gboolean hard_limit;
40                 } replaygain;
41                 struct {
42                         struct {
43                                 gboolean dither_24_to_16;
44                         } normal;
45                         struct {
46                                 gboolean dither;
47                                 gint noise_shaping; /* value must be one of NoiseShaping enum, c.f. plugin_common/replaygain_synthesis.h */
48                                 gint bps_out;
49                         } replaygain;
50                 } resolution;
51         } output;
52 } flac_config_t;
53
54 extern flac_config_t flac_cfg;
55
56 extern void FLAC_XMMS__configure(void);
57 extern void FLAC_XMMS__aboutbox();
58
59 #endif
60
61
62